W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2007

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

From: Costello, Roger L. <costello@mitre.org>
Date: Thu, 15 Feb 2007 16:07:27 -0500
Message-ID: <B8415163A689094689542C617ECA036601665410@IMCSRV5.MITRE.ORG>
To: <xmlschema-dev@w3.org>

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

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"/>


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:11 UTC