OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] RE : [xml-dev] Comparison of Xml documents

[ Lists Home | Date Index | Thread Index ]



Rich Salz wrote:
> 
> > **Roughly speaking**, WXS "sequence"s are mapped to ASN.1 
> SEQUENCEs, 
> > while WXS "all"s are mapped to ASN.1 SEQUENCEs plus explicit 
> > information about the order.  The order is made a part of 
> the abstract 
> > type definition and so is made available to the ASN.1 application.
> 
> Hm.  This means an XML->ASN1/xER gateway must possibly 
> re-order elements within an all?  Could be expensive, having 
> to buffer the entire all, right?


Why is it expensive?  

As elements are parsed from the stream, each element can be decoded into the
corresponding component of the SEQUENCE (matched by name), and an enumerator
value identifying the component can be appended to the "order" component
(the list of enumerator values).  Why do you say one has to buffer the
entire "all"?

Alessandro


>         /r$
> --
> Rich Salz                  Chief Security Architect
> DataPower Technology       http://www.datapower.com
> XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html
> XML Security Overview      
> http://www.datapower.com/xmldev/xmlsecurity.ht> ml
> 
> 
> 
> 
> -----------------------------------------------------------------
> 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>






 

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

Copyright 2001 XML.org. This site is hosted by OASIS