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] A plea for Sanity

[ Lists Home | Date Index | Thread Index ]

Joe English wrote:

> Now general-purpose XML consumers cannot expect to receive sane
> documents.  However *special-purpose* consumers, designed to work
> with specific markup vocabularies, can be a lot simpler if the
> markup vocabulary includes namespace sanity as a requirement.

What about declaring those documents?

<?sanity type="normal|sane|neurotic|psychotic"?>

with a default value of psychotic (unfortunately, but you can't assume 
documents to be normal nor even sane) would allow consumers to adapt 
their behavior or even to reject documents they don't like...

An adaptation of Evan's transformation could easily add this PI to 
existing documents... a "lite XML" or "XML light").

There are lots of additions to do with new specs such as W3C XML Schema, 
XPointer or XPath 2.0 and an increasing need too!

Thanks for this delicious food for thoughts!

See you in Barcelona.
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org


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

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