Difference between externalRef and include

David Tolpin <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
The RELAX NG Specification says that the resource behind URI passed as argument to 'externalRef'
must much the syntax for pattern, while one passed to 'include' must match the syntax for grammar.

The Relax NG Compact Syntax says that both should reference a grammar in the compact syntax.

The latter makes me think that a file is either sintactically valid for both referencing from externalRef
and include or invalid for both contexts. Both Jing and nXML disagree with me.

Further on, jing parses contents of an external file passed to externalRef as a grammar,
but refuses to accept the same file if passed to include.

David Tolpin
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.