[
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
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@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)
|