The Peace Process: DOM and namespaces...

Rick Ross rick at activated.com
Wed Feb 10 22:45:17 GMT 1999


Doesn't that presume that a "document" exists?

My principal problem is that we will very often deal with DOM tree
representations that ARE the document (for all practical purposes). The
business applications we envision will not be spending time committing data
to XML files or streams and then reparsing it - rather they will operate
most frequently on dynamically constructed DOM trees, produced
programmatically from databases and other sources. Object models are
critical for high-end performance.

There should not be a requirement for the data to get emitted as XML, just
so it can be reparsed - the XML-implied DOM representation would suffice
beautifully if not for this namespace problem.

Regards,
Rick

David Megginson wrote:
> 
> Rick Ross writes:
> 
>  > Our XSL processor is designed to work with any XML parser that
>  > implements DOM and SAX support - a fantastic benefit of reliance on
>  > open standards.  Unfortunately, if the DOM api is not rich enough
>  > to support namespaces in XML effectively, then DOM becomes a
>  > second-rate interface for XML/XSL application solutions.
> 
> Although people would like more elegant solutions, there is no reason
> not to do namespace processing on the document before offering it
> through a DOM interface -- the names will not be XML names, but
> everything should still work.
> 
> All the best,
> 
> David
> 
> --
> David Megginson                 david at megginson.com
>            http://www.megginson.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 (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
> (un)subscribe 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)

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 (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe 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