Re: XmlPullParserException

Aleksander Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
Zoe wrote:

> On the other hand, I took a quick look at  
> org.xmlpull.mxp1.MXParser.nextImpl() source code... and I was 
> wondering  if it would be ok to simply disable the 
> XmlPullParserException thrown  at line 1317 and instead assign 
> entityRefName to resolvedEntity...  which in practice would mean that 
> if the parser cannot resolve an  entity... well... it doesn't... and 
> moves along...
>
> What do you think? 

interesting idea. i will make optional feature (how 
IGNORE_UNRESOLVED_ENTITY_REF sounds?) and if set it will make parser to 
just skip over unresolveable entities without reporting error or putting 
anything into reported XML content.

how does it sound?

thanks,

alek

-- 
"Mr. Pauli, we in the audience are all agreed that your theory is crazy. 
What divides us is whether it is crazy enough to be true." Niels H. D. Bohr



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/2U_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.