Support Requests item #2014056, was opened at 2008-07-09 08:25
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=216035&aid=2014056&group_id=16035

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: add Text without escaping or addid cdata section!!?

Initial Comment:
Hi,

I want to add a String as text/content to an Element. If I use the addText() 
method my String gets escaped, so "<p>...</p>" becomes something like this 
"&lt;p%gt;..".

Oh fine, I have to use addCDATA() method ... no I don't because this would make 
something like "<![CDATA[...myText...]]>".

I just want to add my String as body-content to an element wihout changing the 
string in whatever way. Is this possible??

using dom4j.1.6.1

regards, chris

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-25 22:05

Message:
Polizia [URL=http://ws.by/system/lauraangel/] laura angel [/URL] <a
href='http://ws.by/system/lauraangel/'> laura angel </a>
http://ws.by/system/lauraangel/ [URL=http://ws.by/system/adolescente/]
adolescente [/URL] <a href='http://ws.by/system/adolescente/'> adolescente
</a> http://ws.by/system/adolescente/ [URL=http://ws.by/system/palla/]
palla [/URL] <a href='http://ws.by/system/palla/'> palla </a>
http://ws.by/system/palla/ [URL=http://ws.by/system/bimbirobotcucina/]
bimbi robot cucina [/URL] <a href='http://ws.by/system/bimbirobotcucina/'>
bimbi robot cucina </a> http://ws.by/system/bimbirobotcucina/
[URL=http://ws.by/system/deeppurple/] deep purple [/URL] <a
href='http://ws.by/system/deeppurple/'> deep purple </a>
http://ws.by/system/deeppurple/
[URL=http://ws.by/system/albergochiancianoterme/] albergo chianciano terme
[/URL] <a href='http://ws.by/system/albergochiancianoterme/'> albergo
chianciano terme </a> http://ws.by/system/albergochiancianoterme/
[URL=http://ws.by/system/parishilton/] paris hilton [/URL] <a
href='http://ws.by/system/parishilton/'> paris hilton </a>
http://ws.by/system/parishilton/
[URL=http://ws.by/system/vocabolarioingleseitaliano/] vocabolario inglese
italiano [/URL] <a href='http://ws.by/system/vocabolarioingleseitaliano/'>
vocabolario inglese italiano </a>
http://ws.by/system/vocabolarioingleseitaliano/
[URL=http://ws.by/system/caseinlegnoprefabbricate/] case in legno
prefabbricate [/URL] <a
href='http://ws.by/system/caseinlegnoprefabbricate/'> case in legno
prefabbricate </a> http://ws.by/system/caseinlegnoprefabbricate/
[URL=http://ws.by/system/civitavecchia/] civitavecchia [/URL] <a
href='http://ws.by/system/civitavecchia/'> civitavecchia </a>
http://ws.by/system/civitavecchia/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-25 21:16

Message:
Dal [URL=http://ws.by/system/attriciporno/] attrici porno [/URL] <a
href='http://ws.by/system/attriciporno/'> attrici porno </a>
http://ws.by/system/attriciporno/
[URL=http://ws.by/system/giochiperbambini/] giochi per bambini [/URL] <a
href='http://ws.by/system/giochiperbambini/'> giochi per bambini </a>
http://ws.by/system/giochiperbambini/
[URL=http://ws.by/system/visurecatastali/] visure catastali [/URL] <a
href='http://ws.by/system/visurecatastali/'> visure catastali </a>
http://ws.by/system/visurecatastali/ [URL=http://ws.by/system/corsionline/]
corsi on line [/URL] <a href='http://ws.by/system/corsionline/'> corsi on
line </a> http://ws.by/system/corsionline/
[URL=http://ws.by/system/poesiaungaretti/] poesia ungaretti [/URL] <a
href='http://ws.by/system/poesiaungaretti/'> poesia ungaretti </a>
http://ws.by/system/poesiaungaretti/
[URL=http://ws.by/system/pronosticotris/] pronostico tris [/URL] <a
href='http://ws.by/system/pronosticotris/'> pronostico tris </a>
http://ws.by/system/pronosticotris/
[URL=http://ws.by/system/francofortehotel/] francoforte hotel [/URL] <a
href='http://ws.by/system/francofortehotel/'> francoforte hotel </a>
http://ws.by/system/francofortehotel/ [URL=http://ws.by/system/mariaswan/]
maria swan [/URL] <a href='http://ws.by/system/mariaswan/'> maria swan </a>
http://ws.by/system/mariaswan/ [URL=http://ws.by/system/christinaaguilera/]
christina aguilera [/URL] <a href='http://ws.by/system/christinaaguilera/'>
christina aguilera </a> http://ws.by/system/christinaaguilera/
[URL=http://ws.by/system/sportefitness/] sport e fitness [/URL] <a
href='http://ws.by/system/sportefitness/'> sport e fitness </a>
http://ws.by/system/sportefitness/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-25 20:29

Message:
Ministro [URL=http://ws.by/system/jameson/] jameson [/URL] <a
href='http://ws.by/system/jameson/'> jameson </a>
http://ws.by/system/jameson/ [URL=http://ws.by/system/navigatoregps/]
navigatore gps [/URL] <a href='http://ws.by/system/navigatoregps/'>
navigatore gps </a> http://ws.by/system/navigatoregps/
[URL=http://ws.by/system/caccia/] caccia [/URL] <a
href='http://ws.by/system/caccia/'> caccia </a> http://ws.by/system/caccia/
[URL=http://ws.by/system/aguilera/] aguilera [/URL] <a
href='http://ws.by/system/aguilera/'> aguilera </a>
http://ws.by/system/aguilera/ [URL=http://ws.by/system/disneyparis/] disney
paris [/URL] <a href='http://ws.by/system/disneyparis/'> disney paris </a>
http://ws.by/system/disneyparis/
[URL=http://ws.by/system/controllaticontrovirus/] controllati contro virus
[/URL] <a href='http://ws.by/system/controllaticontrovirus/'> controllati
contro virus </a> http://ws.by/system/controllaticontrovirus/
[URL=http://ws.by/system/stazionemeteo/] stazione meteo [/URL] <a
href='http://ws.by/system/stazionemeteo/'> stazione meteo </a>
http://ws.by/system/stazionemeteo/
[URL=http://ws.by/system/intolleranzaalimentare/] intolleranza alimentare
[/URL] <a href='http://ws.by/system/intolleranzaalimentare/'> intolleranza
alimentare </a> http://ws.by/system/intolleranzaalimentare/
[URL=http://ws.by/system/logogiococellulare/] logo gioco cellulare [/URL]
<a href='http://ws.by/system/logogiococellulare/'> logo gioco cellulare
</a> http://ws.by/system/logogiococellulare/
[URL=http://ws.by/system/melanoma/] melanoma [/URL] <a
href='http://ws.by/system/melanoma/'> melanoma </a>
http://ws.by/system/melanoma/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-25 18:57

Message:
Milioni [URL=http://ws.by/system/esamiterzamedia/] esami terza media [/URL]
<a href='http://ws.by/system/esamiterzamedia/'> esami terza media </a>
http://ws.by/system/esamiterzamedia/ [URL=http://ws.by/system/medioevo/]
medioevo [/URL] <a href='http://ws.by/system/medioevo/'> medioevo </a>
http://ws.by/system/medioevo/ [URL=http://ws.by/system/ricci/] ricci [/URL]
<a href='http://ws.by/system/ricci/'> ricci </a> http://ws.by/system/ricci/
[URL=http://ws.by/system/traduzioneversionelatino/] traduzione versione
latino [/URL] <a href='http://ws.by/system/traduzioneversionelatino/'>
traduzione versione latino </a>
http://ws.by/system/traduzioneversionelatino/
[URL=http://ws.by/system/arredamentobologna/] arredamento bologna [/URL] <a
href='http://ws.by/system/arredamentobologna/'> arredamento bologna </a>
http://ws.by/system/arredamentobologna/
[URL=http://ws.by/system/affittacamera/] affitta camera [/URL] <a
href='http://ws.by/system/affittacamera/'> affitta camera </a>
http://ws.by/system/affittacamera/ [URL=http://ws.by/system/arena/] arena
[/URL] <a href='http://ws.by/system/arena/'> arena </a>
http://ws.by/system/arena/ [URL=http://ws.by/system/acuto/] acuto [/URL] <a
href='http://ws.by/system/acuto/'> acuto </a> http://ws.by/system/acuto/
[URL=http://ws.by/system/hotelcatania/] hotel catania [/URL] <a
href='http://ws.by/system/hotelcatania/'> hotel catania </a>
http://ws.by/system/hotelcatania/
[URL=http://ws.by/system/noleggioautobergamo/] noleggio auto bergamo [/URL]
<a href='http://ws.by/system/noleggioautobergamo/'> noleggio auto bergamo
</a> http://ws.by/system/noleggioautobergamo/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-25 17:09

Message:
[URL=http://www.santeh-stil.ru/resourse/linkhttpwww.dostchat.com/] link
http www.dost chat.com [/URL] <a
href="http://www.santeh-stil.ru/resourse/linkhttpwww.dostchat.com/";> link
http www.dost chat.com </a>
http://www.santeh-stil.ru/resourse/linkhttpwww.dostchat.com/ 

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-07 14:27

Message:
plkmmj 13182440 te7i9l [URL=http://le-myrrr.ru/modules/carinsurance/] car
insurance [/URL] <a href="http://le-myrrr.ru/modules/carinsurance/";> car
insurance </a> http://le-myrrr.ru/modules/carinsurance/ 

----------------------------------------------------------------------

Comment By: Filip Jirsák (filipjirsak)
Date: 2008-07-09 08:53

Message:
Logged In: YES 
user_id=1175071
Originator: NO

No, it is not possible. In XML, you cannot have unquoted angle brackets or
ampersand in text content. You can parse a String into XML (try
DocumentHelper.parseText() method) and append it as XML nodes in case you
want insert it as XML content, not text content.

Regards,

Filip

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=216035&aid=2014056&group_id=16035

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to