Support James Clark's schema locating rules
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 4
- Joined: Mon Jul 31, 2006 8:33 pm
Support James Clark's schema locating rules
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"/>
...
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: Support James Clark's schema locating rules
Hi,
oXygen added at some moment support for associating a file with a schema, with similar rules that look at the root element.
Since version 9 when we introduced the Author visual editing mode the document to schema association rules were updated to be document to document type associations where a document type specifies a lot more than a default schema, it specifies also CSS stylesheets, custom actions, transformation scenarios, XML Catalogs, etc. See the Options->Preferences -- Document Type Association options page for details.
Best Regards,
George
oXygen added at some moment support for associating a file with a schema, with similar rules that look at the root element.
Since version 9 when we introduced the Author visual editing mode the document to schema association rules were updated to be document to document type associations where a document type specifies a lot more than a default schema, it specifies also CSS stylesheets, custom actions, transformation scenarios, XML Catalogs, etc. See the Options->Preferences -- Document Type Association options page for details.
Best Regards,
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service