[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Tue Jun 9 19:13:29 UTC 2009
gordonp
Tue Jun 9 15:13:29 EDT 2009
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util
In directory dev.open-bio.org:/tmp/cvs-serv20307/src/main/ca/ucalgary/services/util
Modified Files:
XHTMLForm.java
Log Message:
Now SpecURL is set, Apache XPath used directly due to Google App Engine bug for now
moby-live/Java/src/main/ca/ucalgary/services/util XHTMLForm.java,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/XHTMLForm.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/XHTMLForm.java 2008/03/13 23:05:47 1.7
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/util/XHTMLForm.java 2009/06/09 19:13:29 1.8
@@ -65,13 +65,15 @@
private final String FORM_PARAM_XPATH = ".//xhtml:input | .//xhtml:textarea | .//xhtml:select | .//button";
static{
- XPathFactory xPathFactory = XPathFactory.newInstance();
+ //PG temporarily point to xalan while Google App Engine has bug
+ // XPathFactory xPathFactory = XPathFactory.newInstance();
+ XPathFactory xPathFactory = new org.apache.xpath.jaxp.XPathFactoryImpl();
try{
xPath = xPathFactory.newXPath();
xPath.setNamespaceContext(new NamespaceContextImpl());
} catch(Exception e){
e.printStackTrace();
- }
+ }
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
@@ -94,6 +96,7 @@
formMethod = new HashMap<String,String>();
formSubmitOptions = new HashMap<String,Map<String,String>>();
formImageOptions = new HashMap<String,Map<String,String>>();
+ setSpecURL(formURL);
parse(formURL.openStream());
}
More information about the MOBY-guts
mailing list