[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Another Question
John Cowan says- > tpassin@h... wrote: > > > One of the interesting issues is > > that ASN.1 has both named data types and named identifiers (an element has > > both a type and an identifier), but in XML you have only element names > > (basically representing complex data types). So do you use identifiers or > > data type names, and what do you do with the other of the pair? There are a > > lot of possible solutions. > > There are, but the natural SGML/XML one is to map the ASN.1 type onto the > element type/generic identifier, and the ASN.1 identifier onto an attribute > of type ID. > Yes, or possibly the other way around. Clearly turning the type into an element name is what makes sense. But the people we're working with/for about this were very strongly against using attributes unless forced to in a few cases. So far it has been hard to get this restriction relaxed completely. But we're pecking away at it. Tom Passin *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|