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

Entities and the DOM

Subject: Entities and the DOM
From: keshlam@xxxxxxxxxx
Date: Mon, 11 Jan 1999 11:06:02 -0500
dom entities
I've asked the DOM folks to sanity-check my understanding of one paragraph
of their spec. Looks like I was slightly off... but only slightly.

The DOM can represent an Entity Reference as a node, with the entity value
as a dependent subtree. But the some DOM sources may choose not to do so,
and the DOM WG didn't feel they could dictate otherwise. To handle this
(less desirable) case, the DOM spec documented the alternative of "fully
expanding" the reference, so that the results would at least be
predictable.

Thus, which approach a parser takes is considered a
quality-of-implementation issue, outside the scope of the DOM spec. If it
matters, the application should pick a parser that does generate
EntityReference nodes.

Essentially, the DOM can accurately represent and preserve non-character
Entities... if the code surrounding the DOM does so.

There'll probably be a DOM FAQ entry to clarify this.

______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.