Re: xlink

Chris Lilley wrote:

 > TR> especially if they leave
 > TR> the document's infoset alone.
 >
 > Can you elaborate on that last point?

DTD can change attribute values, thus the document itself, which brings 
several problems with it [dtd-troubles]. RNG on the other hand knows 
about these troubles, and explicitly does not offer features which 
change the document's information set [rng-goal].

Tobi

[dtd-troubles]
A schema language should offer features useful for validation; 
modification of instances is clearly outside this domain.
When I have a tool for processing documents of a certain class of 
documents (docs adhering to a certain abstract schema (possibly 
represented by multiple schema instances written in different schema 
languages)), then including or omitting a DTD doctype declaration can 
break the tool, change the output, or cause havoc of other sorts. And 
the document can be different for validating or non-validating parsers.

[rng-goal]
http://relaxng.org/
"Introduction
RELAX NG is a schema language for XML. The key features of RELAX NG are 
that it:
[...]
* does not change the information set of an XML document"

-- 
http://www.pinkjuice.com/

Received on Sunday, 29 June 2003 13:12:37 UTC