Re: association of RELAX NG with a document

Daniel Veillard <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
On Fri, Oct 24, 2003 at 08:47:04AM +0700, James Clark wrote:
> Although it's important to be able to individually specify the schema to
> use for a particular document, it's also convenient to be able to
> specify rules that apply to classes of document.  For example, on my
> system I have a rule that says when the namespace URI of the document
> element is http://relaxng.org/ns/structure/1.0, then the schema is
> /home/jjc/schema/relaxng.rnc.

  Hum, that's a place where I would expect the XML Catalogs to take
a role in abstracting the file paths. I would still recommend to
use a canonical URL (is there one for relaxng.rnc one http://relaxng.org ?)
and have the catalogs remap to the actual file location. This was
really important as we deployed DocBook processing tools on the various
Linux distributions (and Solaris), I would like to be able to do the
same as I'm starting to push Relax-NG schemas (DocBook, XHTML1, SVG
are good candidate, as well as the RNG for RNG schema).
  It's less critical than when the reference ends up in the instance,
but would still helps a lot for system setup, tools setup and documentation.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
[email protected]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.