[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: In converting XML instance A to XML instance B, thisproper

  • From: Steve Newcomb <srn@coolheads.com>
  • To: John Cowan <johnwcowan@gmail.com>
  • Date: Sun, 01 Dec 2013 16:23:09 -0500

Re:  In converting XML instance A to XML instance B

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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.