We are having a strange problem with encoded characters and I'm
wondering if there are any suggestions on how to correct the problem.
We have a party name tag in our xml document and some of those names
have encoded ampersands in the data associated with that tag (something
like the following -- company name & co.).  If I've read the
documentation correctly xerces should convert that encoded ampersand to
a simple ampersand so we end up with a value something like -- company
name & co..  
The problem that we are running into is that for some reason the
processing of the encoded character is causing the party name to
replicate, which in some cases (when the name is long) it exceeds the
maximum length allowed for that piece of data within the database.  In
the example above we would end up with the following...
Company name Company name &Company name & co
It drops the ampersand and everything after it in the first copy of the
name, in the second it drops everything after the ampersand, and finally
in the third instance of the name it has the name properly converted.
We have recently changed the parser to the new version 2.9.0 in the
hopes that it would handle this encoded character better, but the same
problem persists.  Any suggestions on what we might do to correct this?
Thanks
steve

The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it. 

The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it. 

Reply via email to