Search the web
Sign In
New User? Sign Up
xmlpull-user
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: XmlPullParserException   Message List  
Reply | Forward Message #25 of 308 |
Re: XmlPullParserException

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





Mon Feb 10, 2003 6:10 pm

as10m
Offline Offline
Send Email Send Email

Forward
Message #25 of 308 |
Expand Messages Author Sort by Date

... hi, XML parser is required to resolve entities. the best way around it is not to include non-standard XML entities :-) XML 1.0 defined few standard entity...
Aleksander Slominski
as10m
Offline Send Email
Feb 10, 2003
5:46 pm

... 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...
Aleksander Slominski
as10m
Offline Send Email
Feb 10, 2003
6:11 pm

... that could be done by adding unescaped entity name into text content (another optional feature?). ... it is hard to know when to call skipNext( )and how to...
Aleksander Slominski
as10m
Offline Send Email
Feb 10, 2003
7:04 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help