[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Wed Mar 12 17:47:18 UTC 2008
gordonp
Wed Mar 12 13:47:18 EDT 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory dev.open-bio.org:/tmp/cvs-serv21918/src/main/org/biomoby/shared
Modified Files:
MobyPrefixResolver.java NamespaceContextImpl.java
Added Files:
LSIDResolver.java
Log Message:
Initial commit of lightweight LSID resolver
moby-live/Java/src/main/org/biomoby/shared LSIDResolver.java,NONE,1.1 MobyPrefixResolver.java,1.12,1.13 NamespaceContextImpl.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java 2008/03/07 22:42:03 1.12
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java 2008/03/12 17:47:18 1.13
@@ -44,8 +44,14 @@
public static final String XHTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
public static final String XLINK_PREFIX = "xlink";
public static final String XLINK_NAMESPACE = "http://www.w3.org/1999/xlink";
+ public static final String WSDL_PREFIX = "wsdl";
+ public static final String WSDL_NAMESPACE = "http://schemas.xmlsoap.org/wsdl/";
+ public static final String HTTP_PREFIX = "http";
+ public static final String HTTP_NAMESPACE = "http://schemas.xmlsoap.org/wsdl/http/";
public static final String SAWSDL_PREFIX = "sawsdl";
public static final String SAWSDL_NAMESPACE = "http://www.w3.org/ns/sawsdl";
+ public static final String LSID_PREFIX = "lsid";
+ public static final String LSID_NAMESPACE = "http://lsid.omg.org/predicates#";
/**
* 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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/NamespaceContextImpl.java 2008/03/07 22:42:31 1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/NamespaceContextImpl.java 2008/03/12 17:47:18 1.5
@@ -31,7 +31,10 @@
prefixes.put(MobyPrefixResolver.WSRP_NAMESPACE, MobyPrefixResolver.WSRP_PREFIX);
prefixes.put(MobyPrefixResolver.XHTML_NAMESPACE, MobyPrefixResolver.XHTML_PREFIX);
prefixes.put(MobyPrefixResolver.XLINK_NAMESPACE, MobyPrefixResolver.XLINK_PREFIX);
+ prefixes.put(MobyPrefixResolver.WSDL_NAMESPACE, MobyPrefixResolver.WSDL_PREFIX);
+ prefixes.put(MobyPrefixResolver.HTTP_NAMESPACE, MobyPrefixResolver.HTTP_PREFIX);
prefixes.put(MobyPrefixResolver.SAWSDL_NAMESPACE, MobyPrefixResolver.SAWSDL_PREFIX);
+ prefixes.put(MobyPrefixResolver.LSID_NAMESPACE, MobyPrefixResolver.LSID_PREFIX);
// Reverse map prefix -> nsURI
nsURIs.put(MobyPrefixResolver.XSI_PREFIX, MobyPrefixResolver.XSI_NAMESPACE2001);
More information about the MOBY-guts
mailing list