[jdom-interest] Expanding EntityRef's
philip.nelson at omniresources.com
philip.nelson at omniresources.com
Mon Aug 13 05:43:01 PDT 2001
I did the intial work for this but it hasn't been rolled into the current
version of JDOM yet. Soon I hope....
-----Original Message-----
From: Benjamin Broll [mailto:benjamin.broll at massp.com]
Sent: Monday, August 13, 2001 4:28 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Expanding EntityRef's
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I just came across a question in regard to EntityRef objects. How do
you expand an EntityRef to the text it represents if the entity in
the DTD is eg. defined as follows:
<!ENTITY Pub-Status "This is a pre-release of the specification.">
That is, when a XML document contains the reference to the entity
Pub-Status (&Pub-Status;) and I built the JDOM tree using DOMBuilder,
entities are not automatically expanded (in contrast to SAXBuilder).
So the tree contains the EntityRef objects which I now would like to
convert into their "real meaning".
But as far as I can see in the javadocs, only getting the
public/system id (when they are present) is supported. Why is there
no method for getting the content?
Cheers,
.bbr
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3 int
iQA/AwUBO3ePhdmuaPShga5HEQIpfwCghJFNUO8ZLT3eEnD4YfzqpGe7lM0AoPzS
gTHH3y4VgqAtgSuyfc9WlY7X
=zx/c
-----END PGP SIGNATURE-----
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list