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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] "Introducing MicroXML, Part 1: Explore the basic principlesof ...

 >The factory gets access to the new element's name and the current 
element stack including attributes. This is somewhat richer than XML 
Schema, which requires that the [type] of an element be determinable 
using the new element's name and the names of the elements in the 
current stack.

Actually that describes rather precisely what XSD 1.1 allows.

Giving access to the attributes of ancestor elements is a bit 
questionable because it means the validity/type of an element depends on 
the element's context and not only on its content. It got into XSD 1.1 
because of the xml:lang use case and the influence of the I18N police.

Michael Kay

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS