RE: Is a token element with a carriage return, or leading/trailing spaces, valid?

Michael Kay wrote:

>> Consider these two declarations for element Title:

>> Aren't the two declarations identical?  

>They validate the same instance documents, but they produce different
PSVIs.

So, in RelaxNG (which does not generate a PSVI) these three
declarations are identical:

      <element name="Title" type="token"/>

      <element name="Title" type="string"/>

      <element name="Title" type="normalizedString"/>

Correct?

/Roger

Received on Thursday, 15 February 2007 21:07:42 UTC