Re: [xml-dev] Documents, data and markup: YAML Ain't Markup Language

From
John Cowan <>
To
Paul Prescod <>
Date
2003-06-06T21:27:50Z
ID
<>
Thread
Re: [xml-dev] Documents, data and markup: YAML Ain't Markup Language
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.