The Artima Developer Community
Sponsored Link

Java Answers Forum
Entity Expansion in JDOM Parser

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ajay Singh Tomar

Posts: 3
Nickname: ajaytomar
Registered: Oct, 2003

Entity Expansion in JDOM Parser Posted: Dec 17, 2003 1:14 AM
Reply to this message Reply
Advertisement
Hello,

I wanted to know is there is way to control entity expansion within elements.

eg if &quote; entity is part of element say <LongName>.blah..blah..\&quote...blah..,,\&quote;....blah... <LongName>

when I am reading the element LongName......I want to retain the entity as it is without expansion.

currently it is expanding to \".......\"

Is there is way to tell parser\builder...not to expand the entity.

I tried with builder.setExpandEntities(boolean expand)
but still it expanding the entity even after setting it to false.(i dont know why?)
Is there any other way to control entity expansion..in JDOM builder\Parser.

Regards,
Ajay

Topic: Java Web Services Previous Topic   Next Topic Topic: Help comparing file info to an inputed number and outputing again

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use