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

Re: Ten new XQuery, XSLT 2.0 and XPath 2.0 Working Drafts


complextype xslt
At 04:43 PM 5/9/2003 -0500, Bob Foster wrote:
>From: "Jonathan Robie" <jonathan.robie@d...>
> > If the [validity] property does not exist on this node or any of its
> > ancestors, Infoset-only processing is applied:
> >
> >     ( This says how to maintain the types ID, IDREF, IDREFS, ENTITY,
> > ENTITIES, NMTOKEN, or NMTOKENS
> >        for DTD-validated Infosets )
> >
> > Otherwise, xs:anyType for elements or xs:anySimpleType for attributes.
> >
> >     ( In other words, the stuff is untyped. )
>
>I know I have trouble understanding 3.6 and I expect others do. If an
>element's complex type is not a named type, like nested declarations in XML
>Schema and _all_ DTD (or RELAX NG) complex types, what path through this
>guarantees that a) the actual complex type will be used to determine
>validity of the content model and b) the proper simple types will be
>assigned to attributes and elements?

Hi Bob,

The complex types of DTDs are not named types in the Data Model, and that 
means that you can't match them with SequenceType in XQuery - there is no 
type annotation to match.

If RELAX NG wants to define a mapping into our Data Model, that mapping 
could produce named types. The XQuery and XSLT Working Groups have not 
produced a mapping for RELAX NG.

Jonathan 


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.