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

RE: Interoperability [long]


RE:  Interoperability [long]
> Right, just having clear explanations of the "early" and
> "late" binding
> models more widely used would help.  Could you summarize how
> that's different from the XPath model?  I keep thinking of XPath as
> being a read-only addressing scheme, and the problem you described
> seems like it wouldn't show up in a read-only world.

XPath, of course, has two great advantages over DOM: it doesn't do in-situ
update, and it doesn't preserve compatibility with a pre-namespace model.
Nevertheless, the exact behavior of namespaces in XSLT/XPath, and in
particular the question of whether or not prefixes are significant, is an
extremely arcane subject probably understood by only a handful of people in
the world (those lucky enough to have had a private tutorial on the subject
from James Clark).

I have to concur with my colleague Mike C that namespaces in the DOM are a
pain. Saxon allows the source tree for a transformation to be supplied as a
DOM, and catering for all the different things you might find in terms of
namespace representation is a nightmare. (It's not the only nightmare,
someone just tripped me up by feeding me a DOM containing text nodes that
contained no text; but namespaces is definitely one of the worst areas).

Mike Kay
Software AG


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.