[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-j-user
Subject:    Re: Error parsing file
From:       Elliotte Harold <elharo () metalab ! unc ! edu>
Date:       2005-11-20 19:46:39
Message-ID: 4380D29F.5040708 () metalab ! unc ! edu
[Download RAW message or body]

Neil Aggarwal wrote:
> Hello:
> 
> One of the web services I am integrating with is generating an
> XML response that contains this:
> 
> <SKU>25544520050&amp</SKU>
> 
> Is there a way to override this behavior and force the parser to just
> take the input as text?

No. Rejecting malformed data such as this example is one of the core 
principles of XML. This needs to be fixed at the source. (Hard to 
believe they got this far with something that broken.)


-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic