Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

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

Mikael Petterson (KI/EAB)

2006-04-21

Replies:

Problem to read xml with jdom when CR

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?

Cheers,

//mikael

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.