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