[jdom-interest] Problem to read xml with jdom when CR

Mattias Jiderhamn mj-lists at expertsystems.se
Fri Apr 21 08:45:42 PDT 2006


Please note that the SAXBuilder uses the underlying W3C SAX parser. 
Probably the problem lies there.
What SAX parser are you using? Have you tried another SAX parser?

At 2006-04-21 13:56, Mikael Petterson \(KI/EAB\) wrote:
>Content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
>         boundary="----_=_NextPart_001_01C6653A.9D811623"
>
>Hi,
>
>When we read one version of the xml we had the following:
>
>
>
><class name="Aal0TpVccTp">
>          <description>From Cello MIM.
>Ref. [MOM_Cello]</description>
>          <systemCreated/>
>          <attribute name="Aal0TpVccTpId">
>              <mandatory/>
>              <noNotification/>
>              <restricted/>
>              <dataType>
>                 <string/>
>              </dataType>
>          </attribute>
></class>
>
>In the new version of the xml we have the following that jdom cannot 
>read ( carriage return after MIM):
>
><class name="Aal0TpVccTp">
>          <description>From Cello MIM.
>
>Ref. [MOM_Cello]</description>
>          <systemCreated/>
>          <attribute name="Aal0TpVccTpId">
>              <mandatory/>
>              <noNotification/>
>              <restricted/>
>              <dataType>
>                 <string/>
>              </dataType>
>          </attribute>
></class>
>
>Any ideas if this is a known problem ? Or if there is a workaround for it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20060421/77beda2d/attachment.htm


More information about the jdom-interest mailing list