OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XSD Schema : Standard APIs ?

Title: RE: XSD Schema : Standard APIs ?
I personally do not see a compelling reason to provide a DOM-based API. We basically can use XQuery to query the type system since it is supposed to use XSD (and its formalization) as the type system itself...
Best regards
-----Original Message-----
From: Mike.Champion@SoftwareAG-USA.com [mailto:Mike.Champion@SoftwareAG-USA.com]
Sent: Monday, February 19, 2001 2:12 PM
To: xml-dev@lists.xml.org
Subject: RE: XSD Schema : Standard APIs ?

> -----Original Message-----
> From: Simon Fell [mailto:xml@zaks.demon.co.uk]
> Sent: Monday, February 19, 2001 4:17 PM
> To: xml-dev@lists.xml.org
> Subject: XSD Schema : Standard APIs ?

> I was chatting to a friend last night about how XSD is used within
> SOAP & WSDL, in particular its use as a type system rather than a
> validation language. I was wondering if there are any plans to define
> a standard API to query/use the type system that a particular XSD

The W3C DOM Level 3's "Content Models and Validation" module will define a generic API for dealing with the content model that a "schema" (broadly speaking, including DTDs, XSD, and in principle RELAX, XDR, etc.) defines, the "PSV Infoset", and at least some datatype support.  See http://www.w3.org/TR/2001/WD-DOM-Level-3-CMLS-20010209/content-models.html for the initial draft of this effort, and please comment to www-dom@w3.org if the functionality described in this draft does not meet your needs. 

I believe, though I'm not sure, that the W3C Schemas working group is working on a set of XSD-specific extensions to DOM Level 3 that would more fully support its unique features.