[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
RE: Is a token element with a carriage return

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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.