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

Re: Who can implement W3C XML Schema ?

  • From: Eric van der Vlist <vdv@d...>
  • To: "Henry S. Thompson" <ht@c...>
  • Date: Wed, 24 Oct 2001 14:03:21 +0200

xml schema whitespace collapse
Hi Henry,

Henry S. Thompson wrote:

> Rick Jelliffe <ricko@a...> writes:
> 
> 
>>Surely the third <any> element in the instance is invalid?  It has
>>three tokens in it.
>>
> 
> 'xs:token' is, as someone else (Eric?) recently observed, badly named
> -- it should be 'xs:tokenizedString' -- it's just 'xs:string' with
> whitespace='collapse'


Yes, this is something I have understood very recently!


> 
> The _fourth_ <any> element is invalid, however, for the reason you cite.
> 

I don't think so. The fourth element in the instance document is different:

  <any xsi:type="xs:Name">
        hjkhjk
  </any>

After the whitespaces have been collapsed, it should be considered as a 
XML name, shouldn't it?


>>>I may also still have missed something in the rec and my example may be 
>>>invalid, but the point would remain that if you take 4 W3C XML Schema 
>>>processors on a simple test case, you have very often 4 different answers.
>>>
>>Two of the products Eric are using are betas (MSXML and Xerces) and
>>the XML Spy is not the most recent (I don't know if it fixes the
>>problem, and I don't know if the Turbo XML is the most recent.)  All
>>it shows is that developers are leaving this till last or too late,
>>rather than that there is some crisis of complexity.
>>
> 
> I agree with Rick here -- the REC is not quite 6 months old, there are 
> at least half-a-dozen implementations out there, and they're all
> upgrading rapidly.  I would note that whitespace processing is a
> long-standing source of corner cases:  XML 1.0 processors don't all
> get it right to this day, and there were several errata in this area.


Again, I hope that you are right, but I have think that the users should 
be warned about the lack of conformance of the current implementations.

Thanks

Eric


> ht
> 



-- 
Rendez-vous à Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.