<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Problem to read xml with jdom when CR</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=136344013-21042006>Can you explain what you mean by "cannot
read"?</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> jdom-interest-bounces@jdom.org
[mailto:jdom-interest-bounces@jdom.org] <B>On Behalf Of </B>Mikael Petterson
(KI/EAB)<BR><B>Sent:</B> Friday, April 21, 2006 7:56 AM<BR><B>To:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] Problem to read xml
with jdom when CR<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi,</FONT> </P>
<P><FONT face=Arial size=2>When we read one version of the xml we had the
following:</FONT> </P>
<P><FONT face=Arial size=2></FONT> </P><BR>
<P><FONT face=Arial size=2><class name="Aal0TpVccTp"></FONT> <BR><FONT
face=Arial size=2>
<description>From Cello MIM. </FONT><BR><FONT face=Arial size=2>Ref.
[MOM_Cello]</description></FONT> <BR><FONT face=Arial
size=2>
<systemCreated/>
</FONT><BR><FONT face=Arial
size=2> <attribute
name="Aal0TpVccTpId">
</FONT><BR><FONT face=Arial
size=2>
<mandatory/>
</FONT><BR><FONT face=Arial
size=2>
<noNotification/>
</FONT><BR><FONT face=Arial
size=2>
<restricted/>
</FONT><BR><FONT face=Arial
size=2>
<dataType>
</FONT><BR><FONT face=Arial
size=2>
<string/>
</FONT><BR><FONT face=Arial
size=2>
</dataType>
</FONT><BR><FONT face=Arial
size=2>
</attribute> </FONT><BR><FONT face=Arial
size=2></class></FONT> </P><BR>
<P><FONT face=Arial size=2>In the new version of the xml we have the following
that jdom cannot read ( carriage return after MIM):</FONT> </P>
<P><FONT face=Arial size=2><class name="Aal0TpVccTp"></FONT> <BR><FONT
face=Arial size=2>
<description>From Cello MIM.</FONT> <BR><FONT face=Arial
size=2> </FONT> <BR><FONT face=Arial size=2>Ref.
[MOM_Cello]</description></FONT> <BR><FONT face=Arial
size=2>
<systemCreated/>
</FONT><BR><FONT face=Arial
size=2> <attribute
name="Aal0TpVccTpId">
</FONT><BR><FONT face=Arial
size=2>
<mandatory/>
</FONT><BR><FONT face=Arial
size=2>
<noNotification/>
</FONT><BR><FONT face=Arial
size=2>
<restricted/>
</FONT><BR><FONT face=Arial
size=2>
<dataType>
</FONT><BR><FONT face=Arial
size=2>
<string/>
</FONT><BR><FONT face=Arial
size=2>
</dataType>
</FONT><BR><FONT face=Arial
size=2>
</attribute> </FONT><BR><FONT face=Arial
size=2></class></FONT> </P><BR>
<P><FONT face=Arial size=2>Any ideas if this is a known problem ? Or if there is
a workaround for it?</FONT> </P>
<P><FONT face=Arial size=2>Cheers,</FONT> </P>
<P><FONT face=Arial size=2>//mikael</FONT> </P></BODY></HTML>