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

Re: patterns and restrictions


decimal regular expression
> Section 4.3.11 (as corrected) reads:

Thank you for the clarifications. Is there a way to get the corrected specification,
not a separate file with corrections? 

Is it possible to check with the errata each time one feels there is a contradiction;
but this is not very time efficient, because I feel there is a contradiction too often.

- Is NaN equal to itself? Is NaN less than +INF and greater than -INF? If
+INF and -INF are exclusive restrictions, do they fall within the range of their own?

- For decimal, leading and trailing zero digits are optional. This is not the
  same as 'leading and fractional trailing zero digits', although I understand
  that the authors meant the latter.  If they would say what they meant, they could
  also add "including decimal point". 

But still, the definition is probably wrong, since not all leading zero digits are
optional, one should be kept unless there is something in the fractional part.

Or is '-.' a valid decimal?

Using a simple regular expression to specify the lexical space would be a much easire way
to understand it. 

And since the specification cannot be used to implement the datatypes:

Is there a reference implementation that parses built-in types right? 
Is there a test suite that actually shows what the authors meant?

David Tolpin




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.