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

RE: parser for xml-data?

  • From: Charles Frankston <cfranks@m...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Mon, 18 May 1998 18:49:35 -0700

xml date example
> -----Original Message-----
> From: Rick Jelliffe [mailto:ricko@a...]
> Sent: Friday, May 08, 1998 5:58 PM
> To: xml-dev@i...
> Subject: Re: parser for xml-data?
> 
> 
> From: Ron Bourret <rbourret@d...>
> 
> > The only major difference I have found so far for XML is 
> that the elements
> in
> > XML documents are ordered, while data members in OO 
> programming languages
> are
> > not.
> 
> There is an error in the (January 5?) XML-data report, in the 
> very first
> example.
> It gives the clear impression that XML-data does not 
> constrain sequence for
> the element types it describes. In the example, the 
> declarations for the
> element
> types which can appear as the content of an element types are 
> given in one
> order, but the instance has them in another order.  (A Microsoft
> representative
> pointed this out to me: I dont know why they haven't just 
> reissued the note,
> since it
> is a fairly cricitical point for implementors.)

Well, it's not actually a note, Rick, it's a submission to the W3C.  But
yes, the errors should be corrected, presumably by a re-submission.  There
are more, mostly less serious, errors and typos that should be corrected as
well.

> 
> Also note that the usage of ISO 8601 date formats seems to be wrong.
> ISO 8601 date format is yyyy-mm-dd, e.g. 1998-05-09, and not 19980509,
> last time I looked.

Both 1998-05-09 and 19980509 are legal in ISO 8601 (there's a "full" and a
"basic" format, or something like that).  However, my current inclination is
always to use the full form, i.e. 1998-05-09, as per Misha Wolf's and
Charles Wickstead's note: http://www.w3c.org/TR/NOTE-datetime-970915.html.
> 
> If anyone is thinking of implementing XML-data, I suggest 
> they befriend the
> authors, because the report misses out on several key issues. (I have
> previously
> mentioned that is does not seem to make clear whether you can have an
> XML-data schema as part of a document, or whether it must be 
> external. If it
> is internal, can it describe the document's root element? I 
> suppose a close
> reading of the XML-data text might help, but it is not clear 
> to me after
> dozens of readings, but I do not claim to be particularly 
> brilliant in this
> area.)

Befriending the authors is always a good idea :-), as is allowing schema
information in a document instance.  I think the next revision should try to
define this.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.