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

Re: RE : Comparison of Xml documents


xml document comparison
So as a use case, I would refer to the ASN.1 gateway example presented
earlier.  Are you saying that if a user creates a message (document)
specified as an <xsd:all> with three elements a, b, and c and chooses to
send them in the order b, a, c,
that this order must be preserved as it passes through the various gateways
to its final destination?  If this is the case, I would agree there in no
ASN.1 equivalent.

Regards,

Ed Day

----- Original Message -----
From: "Alessandro Triglia" <sandro@m...>
To: "'John Cowan'" <cowan@m...>; "'Ed Day'" <eday@o...>
Cc: <xml-dev@l...>
Sent: Tuesday, November 25, 2003 5:33 PM
Subject: RE:  RE :  Comparison of Xml documents


>
> John Cowan wrote:
> >
> > Ed Day scripsit:
> >
> > > From a practical standpoint, an ASN.1 SET construct is roughly
> > > equivalent to an <xsd:all>.  Both allow the elements
> > defined within to
> > > be transmitted in any order.
> >
> > In a word, the difference is that SET says the transmission
> > order has no meaning, whereas xsd:all says the order might or
> > might not mean something.
>
>
> In certain encoding rules (such as DER), the transmission order is fixed.
> Therefore the statement that SET allows the elements to be transmitted in
> any order is not a general statement about SET, but a statement about the
> manner that SET is encoded in a specific set of encoding rules.
>
> Transmission order of SET (when not fixed) is an example of what we call
> "encoder's options".  Encoder's options exist for the convenience of
> encoders, but carry no information at all.
>
> Specifically, it would be a mistake to attribute any significance to the
> order of elements for a SET in the XML encodings.  The abstract value is
> **unordered**, so the application should not be exposed to the order.
>
> Alessandro
>
>
> >
> > --
> > John Cowan  jcowan@r...  www.reutershealth.com
> www.ccil.org/~cowan Promises become binding when there is a meeting of the
> minds and consideration is exchanged. So it was at King's Bench in common
> law England; so it was under the common law in the American colonies; so
it
> was through more than two centuries of jurisprudence in this country; and
so
> it is today.
>        --_Specht v. Netscape_
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative
> of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>


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-2007 All Rights Reserved.