Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: RE: RE: RE: RE: unique question >Thread Next - RE: Is a token element with a carriage return, or leading/trailing spaces, valid? Is a token element with a carriage return, or leading/trailing spaces, valid?To: <xmlschema-dev@--.---> Date: 2/15/2007 5:48:00 AM
Hi Folks,
Consider this element declaration:
<element name="Title" type="token"/>
And consider these two instances of the element:
<Title>My Life and
Times</Title>
<Title> My Life and Times </Title>
In the first instance, the data has a carriage return.
In the second instance, the data has leading and trailing spaces.
Are the instances valid or invalid?
XMLSpy">XMLSpy says they are invalid.
Oxygen XML says they are valid.
Which is correct?
/Roger
From mike@s... Thu Feb 15 16:35:47 2007
Received: from aji.w3. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
