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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] DOM Level 3, more or less flexible than AS?

[ Lists Home | Date Index | Thread Index ]

Elliotte Rusty Harold scripsit:

> I'm not intimately familiar with RELAX NG, but I 
> suspect a RELAX aware processor could easily generate a typed DOM. 
> It's just that two different RELAX processors might not build 
> identical DOMs when it came to type information.

Progress is underway to layer type information over RELAX NG.
Probably only a subset of schemas will work: precisely those that
don't assign contradictory types.  This schema, e.g., will probably
not work:

	baz1 = element baz {attribute foo {text}?, attribute bar {text}}
	baz2 = element baz {attribute foo {text}, attribute bar {text}?}

because the type of <baz foo="foo" bar="bar"> is both baz1 and baz2.

-- 
What is the sound of Perl?  Is it not the       John Cowan
sound of a [Ww]all that people have stopped     jcowan@reutershealth.com
banging their head against?  --Larry            http://www.ccil.org/~cowan




 

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

Copyright 2001 XML.org. This site is hosted by OASIS