I am using xerces to parse an xml file containing the element: <ldap.username>uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot</ldap.username>

 

But, the parser is deleting some characters while parsing the string and I get this:

 

uid=admin,ou=Administrators,ou=ologyManagement,o=NetscapeRoot

 

Notice the Top in TopologyManagement is missing and I get ologyManagement.  This has happened with another element in the same file.

 

<ldap.organization>uid=UShasta,ou=People,o=technicacorp.com</ldap.organization>

 

In that case, the parser omitted "uid=UShasta,"  from the element and I got

 

<ldap.organization>ou=People,o=technicacorp.com</ldap.organization>

 

I figured this problem and just moved that element above another element and things started working.  Now I am getting similar error and I don't want to kluge the system by finding a workaround.  I think this is a bug with Xerces.  I don't know what could be causing this because this error happens only sometimes, not always.  The last time it happened, it consistently gave me that error until I move the element around, but after that, it didn't happened for about 3 weeks.  I am using Xerces 2.0.0.

 

Thanks,

Malia

 

Reply via email to