[jdom-interest] Content missing after conversion from W3C Element to JDOM2 Element

Larsen larsen007 at web.de
Wed Nov 7 14:48:17 PST 2012


I will try to test this tomorrow in my company.


Lars


On Wed, 07 Nov 2012 22:48:48 +0100, Rolf Lear <jdom at tuis.net> wrote:

> Hi
>
> If you pull the JDOM code from github, set it up as an eclipse project  
> (if you use eclipse...), then right-click the build.xml file and run the  
> eclipse target. If you use eclipse you can then right-click the project  
> and run all tests, or you can run the ant junit target.
>
> As for which DOM you use, run your project with the java option  
> -Djaxp.debug=1 to see which DOM is found.
>
>
> Rolf
> Larsen <larsen007 at web.de> wrote:Hi Rolf,
>
> I haven´t used unit tests so far and would need some instructions on how 
> to run them in case this becomes necessary.
>
> How can I check for a buggy DOM implementation?
>
>
> Lars
>
>
> On Wed, 07 Nov 2012 19:31:09 +0100, Rolf Lear <jdom at tuis.net> wrote:
>
>> Hi (again).
>>
>> Based on some double-checking, I suspect that you have a buggy DOM 
>> implementation?
>>
>> GetTextContent returns nodeBalue for Text nodes...   Node.getTextContent 
>> says it should anyway.
>>
>> I will check it out some more later.
>>
>>
>>
>> Rolf
>> Larsen <larsen007 at web.de> wrote:> I am quite a JDOM2 newbie and noticed 
>> strange/incorrect behaviour when
>>> converting a W3C-Element to a JDOM-Element. (snip)
>>
>>
>> PS: Using latest JDOM 2.0.3 and Java 7 ("1.7.0_09")
>> _______________________________________________
>> To control your jdom-interest membership:
>> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
>
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list