Support James Clark's schema locating rules
Posted: Tue Apr 21, 2009 11:52 pm
oXygen support XML editing assisted by a Relax NG schema. I've been using
emacs and nxml mode for the same purpose and has build an extensive catalog
of schemas and a locating rules file. It would be nice if oXygen supported the same file for associating schemas with xml files.
http://www.dpawson.co.uk/relaxng/nxml/schemaloc.html#d574e168
For example, I have:
?xml version="1.0"?>
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
<uri resource="schemas.xml" uri="/usr/local/share/emacs/site-lisp/nxml-mode-20041004/schema/locate.rnc"/>
<namespace ns="http://www.oasis-open.org/committees/xliff/documents/xliff.dtd" uri="xliff.rnc"/>
<documentElement localName="xliff" uri="xliff.rnc"/>
<namespace ns="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd" uri="web-jsptaglibrary_1_2.rnc"/>
<uri resource="build.xml" uri="project.rnc"/>
<documentElement localName="project" uri="project.rnc"/>
<uri resource="web.xml" uri="web-app_2_3.rnc"/>
<documentElement localName="web-app" uri="web-app_2_3.rnc"/>
<namespace ns="http://www.w3.org/2001/XMLSchema" uri="xmlschema.rnc"/>
<documentElement localName="beans" uri="spring-beans.rnc"/>
<documentElement localName="mbeans-descriptors" uri="mbeans-descriptors.rnc"/>
<documentElement localName="java" uri="javabeans.rnc"/>
...
emacs and nxml mode for the same purpose and has build an extensive catalog
of schemas and a locating rules file. It would be nice if oXygen supported the same file for associating schemas with xml files.
http://www.dpawson.co.uk/relaxng/nxml/schemaloc.html#d574e168
For example, I have:
?xml version="1.0"?>
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
<uri resource="schemas.xml" uri="/usr/local/share/emacs/site-lisp/nxml-mode-20041004/schema/locate.rnc"/>
<namespace ns="http://www.oasis-open.org/committees/xliff/documents/xliff.dtd" uri="xliff.rnc"/>
<documentElement localName="xliff" uri="xliff.rnc"/>
<namespace ns="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd" uri="web-jsptaglibrary_1_2.rnc"/>
<uri resource="build.xml" uri="project.rnc"/>
<documentElement localName="project" uri="project.rnc"/>
<uri resource="web.xml" uri="web-app_2_3.rnc"/>
<documentElement localName="web-app" uri="web-app_2_3.rnc"/>
<namespace ns="http://www.w3.org/2001/XMLSchema" uri="xmlschema.rnc"/>
<documentElement localName="beans" uri="spring-beans.rnc"/>
<documentElement localName="mbeans-descriptors" uri="mbeans-descriptors.rnc"/>
<documentElement localName="java" uri="javabeans.rnc"/>
...