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

Re: Abbreviated Tag Names (ASN.1)

  • From: Charles Reitzel <creitzel@m...>
  • To: xml-dev@l...
  • Date: Sat, 17 Feb 2001 13:11:41 -0500 (EST)

tag names
Some thoughts.

Surely, ASN.1 is preferable to inventing a new set of binary encodings for
XML Schema data types.

Besides being available now, ASN.1 has the advantage of interoperability
with LDAP.  I'm sure there are many uses for representing LDAP data as XML
and vice-versa: lookup web service deployment descriptors, directory data
export/import, UDDI registry implementation, ...

LDAP already defines "Syntaxes" for many primitive data types (date, string,
integer, ...).  LDAP has the ability to use different names for the same
OID, which might be helpful in supporting multiple XML views of shared LDAP
data.  Conceivably, these attribute types could be used independently of
directories, per se.

However, done with care and restraint, it shouldn't be to hard find a usable
overlap between LDAP schemas and XML Schema.  Both support basic "struct"
data types as well as attribute and element/entry type inheritance. 

Complications: 1) Because LDAP attributes are multi-valued, however, they
don't always map to XML attributes. So some additional meta-data is needed
here.  2) It is difficult to separate LDAP object classes from directories.
An XML data type is probably needed to represent an LDAP distinguished name
as a URI ("urn:ldap:cn=joebob,l=texas")?  However, LDAP relative
distinguished names (RDNs) can probably be represented with a properly
scoped XML Schema key definition.

Charles Reitzel


On Thu, 15 Feb 2001 Thomas B. Passin wrote:
>
>... you could consider asn.1 and perhaps an 
>xmlschema->asn.1->xml instance mapping.   All 
>the bit packing and so on has been worked out
>by the asn.1 folks - you have to come up with 
>the xml conversions.





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.