[jdom-interest] Entities in attributes
Jason Hunter
jhunter at acm.org
Wed May 1 18:20:18 PDT 2002
Parsers hand it to JDOM that way. I recall they do that even if you
turn entity expansion off. We decided if no parsers worry about entity
refs in attribute values, we didn't need to.
-jh-
Paul Reeves wrote:
>
> Hi
>
> I can't get JDOM to leave entities in attributes alone - it converts them
> back to their value specified in the dtd:
>
> for example
>
> if the entity &abc; is set to in the DTD to the value '10':
>
> <doc>
> <value="somevalue&abc;">123</value>
> </doc>
>
> when sent through the XMLOutputter is converted to
>
> <doc>
> <value="somevalue10">123</value>
> </doc>
>
> I've looked at the outputter and can't seem to find
> a way of disabling this conversion - can anyone help?
>
> Thanks
>
> Paul
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list