Disable XML Entity resolving in JDOM / DOM?

I believe that if validation (feature http://xml.org/sax/features/validation ) is true it overrides setExpandEntities(false) . Try also disabling validation by setting that feature to false .

I've found various hints like this one that say that you can't turn off entity expansion in attributes. I'm not sure what to suggest that's not ugly. For example, you could use an EntityResolver that would bring in a "null" DTD - that defined the expansion of "wiki" as "&wiki;".

Seems like there's gotta be a better way!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions