XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] In converting XML instance A to XML instance B, thisproperty must be preserved: semantics


On 11/30/2013 02:34 PM, John Cowan wrote:

>     * Should the recipient have known better than to accept the
>     transmission?
> 
> 
> The point about the recipient isn't so clear to me.  When the recipient
> validates a document, that says exactly nothing about whether the
> document is usable to the recipient, because the declarations are *part*
> of the document.  This, I think, is the weakness of classical DTDs:
> there is no easy way to tell if the DOCTYPE attached to the document by
> the sender has anything to do with what the recipient expected to see.

Are you saying that the recipient can't test an included document type
definition for equivalence to the agreed-upon syntactic constraints?

This was actually a serious issue, at least in the HyTime committee,
before W3C dismissed architectural forms / meta-DTDs as "too ugly" and
then proceeded to promulgate the relative beauty of XML Namespaces
(sarcasm intended).

Inherent in the architectural forms idea was the notion that any schema
that was *more* constrained could be used in place of the agreed one,
but not one that was *less* constrained.  For a while, I personally
believed there needed to be a way to test whether that was true.  In the
end, though, for all purposes of standardization, at least, we decided
that only the instances mattered, and we could easily tell whether an
instance conformed to an agreement, or didn't.  It just didn't matter
what the source-system believed the schema was as long as its product
conformed to the agreement.











[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS