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] Documents, data and markup: YAML Ain't Markup Language

[ Lists Home | Date Index | Thread Index ]

Paul Prescod scripsit:

> Because of the name/value orientation of data applications, it is 
> usually safe to ignore an unknown element as an "extension". But in a 
> document application unknown elements tend to have semantics that you 
> really should deal with. A publisher can't say "I've never heard of a 
> colophon, therefore I'll just throw it out."

If we must have a rule, let it be:  In data-oriented applications, ignore
unknown elements.  In document-oriented applications, replace an
unknown element by its content.

There are three kinds of people in the world:   John Cowan
those who can count,                            http://www.reutershealth.com
and those who can't.                            jcowan@reutershealth.com


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

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