[SML] Mapping between SML and XML

Joe Lapp jlapp at webmethods.com
Mon Nov 29 05:39:20 GMT 1999

At 07:29 PM 11/28/1999 -0800, Don Park wrote:
>>Should we make it a requirement that it be possible to map XML 
>>into SML?
>>To what degree should the mapping be reversible?
>What would prevent the mapping from being non-reversible?

Any kind of lossiness.

>I think one namespace should be enough for XML bridge tag set
>unless I missed something.  This is reminiscent of XHTML chaos.

I would like to think so.  The following potential requirements worry me:

(a) Mapping should preserve attribute namespaces.
(b) Mapped attributes of XML should be occur as elements in SML.
(c) Attribute namespaces should be represented in SML using XML namespaces.

Reasons for having these requirements follow:

(a) Namespaces are necessary semantic markers.
(b) Attribute values should be addressable in SML without having to first interpret the SML as encoded XML.
(c) We should leverage all existing namespace-aware code (whether in the parser or in the application).
Joe Lapp              (Looking for some good people to help design
Senior Engineer        and build the Internet's business-to-business
webMethods, Inc.       XML infrastructure.  We are 100% Java.)
jlapp at webMethods.com           http://www.webMethods.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list