[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andreas Berg <andreas_berg@u...>
  • To: xml-dev@i...
  • 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
entities?

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

Could please someone help me understand???

Thanks,

   Andreas.


____________________________________________________________________
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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member