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

RE: RE : Comparison of Xml documents


RE:  RE :  Comparison of Xml documents
Bob Foster wrote:
> So SET can only be used with CER and DER when 
> order is semantically insignificant. A case of 
> performance trumping use cases, perhaps? 
	No. There is no use case being trumped here. If you want to
specify that order is variable but must be preserved, you can do so --
it just takes a bit more than just a SET to do it. 
	Depending on your needs, a "SEQUENCE OF CHOICE" might give you
what you want. i.e. order is preserved because it is a sequence, not a
set, yet the actual type of each element in the sequence is any of the
elements in the choice list. Other options exist and the ASN.1 gurus
(I'm not one of them...) watching this thread might be able to offer
more detailed guidance. 
	In any case, if you define your schema properly, the order of
variable-order elements will be preserved even after encoding in CER,
DER or CXER. If this wasn't the case, there would be a serious
problem.



		bob wyman


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.