OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Entity handling in DOM

[ Lists Home | Date Index | Thread Index ]
  • From: Andreas Berg <andreas_berg@usa.net>
  • To: xml-dev@ic.ac.uk
  • Date: 14 Jan 99 13:08:22 MET

I just did some DOM programming with IBM's XML4J. I experienced that if there
is a general entity in the XML document the parser doesn't expand it and
instead just provides an EntityReference node. The DOM standard says the
parser "may" expand entities. I wondered what is the sense of not expanding?
How do other parsers handle this?

BTW, why is there a difference between general entities and parameter

To my (very naive) understanding entities are a kind of text replacement and
should be handled transparently.

Could please someone help me understand???



Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS