[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Tue Jan 22 22:22:12 UTC 2008


gordonp
Tue Jan 22 17:22:12 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory dev.open-bio.org:/tmp/cvs-serv8061/src/main/org/biomoby/shared

Modified Files:
	MobyPrefixResolver.java NamespaceContextImpl.java 
Log Message:
Added XHTML support
moby-live/Java/src/main/org/biomoby/shared MobyPrefixResolver.java,1.9,1.10 NamespaceContextImpl.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java	2007/03/30 19:48:12	1.9
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java	2008/01/22 22:22:12	1.10
@@ -40,7 +40,8 @@
     public static final String WS_ADDRESSING_NAMESPACE = "http://schemas.xmlsoap.org/ws/2004/03/addressing";
     public static final String WSRP_PREFIX = "wsrp";
     public static final String WSRP_NAMESPACE = "http://docs.oasis-open.org/wsrf/rp-2";
-
+    public static final String XHTML_PREFIX = "xhtml";
+    public static final String XHTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
     /**
      * We don't really implement this as it can be extremely complicated.
      *

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/NamespaceContextImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/NamespaceContextImpl.java	2008/01/14 23:00:44	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/NamespaceContextImpl.java	2008/01/22 22:22:12	1.2
@@ -28,8 +28,9 @@
 	prefixes.put(MobyPrefixResolver.XSI_NAMESPACE2001, MobyPrefixResolver.XSI2001_PREFIX);
 	prefixes.put(MobyPrefixResolver.SOAP_ENC_NAMESPACE, MobyPrefixResolver.SOAP_ENC_PREFIX);
 	prefixes.put(MobyPrefixResolver.WS_ADDRESSING_NAMESPACE, MobyPrefixResolver.WS_ADDRESSING_PREFIX); 
-	prefixes.put(MobyPrefixResolver.WSRP_NAMESPACE, MobyPrefixResolver.WSRP_PREFIX);
-	
+	prefixes.put(MobyPrefixResolver.WSRP_NAMESPACE, MobyPrefixResolver.WSRP_PREFIX);	
+	prefixes.put(MobyPrefixResolver.XHTML_NAMESPACE, MobyPrefixResolver.XHTML_PREFIX);
+
 	// Reverse map prefix -> nsURI
 	nsURIs.put(MobyPrefixResolver.XSI_PREFIX, MobyPrefixResolver.XSI_NAMESPACE2001);
 	for(Map.Entry<String, String> entry: prefixes.entrySet()){




More information about the MOBY-guts mailing list