known limitations of XPP3 [Re: XPP3 implementation]
Aleksander Slominski <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Neeraj Bajaj wrote:
> 3. XPP3 doesn't claim itself to be XML 1.0 compliant. Can you clear exactly
> where it fails ?
i get this question from time to time so here is the list:
1. xpp3 parser accepts all valid XML input except if it contains
internal DTD subset (it is currently ignored)
2. parser is more liberal in accepting unicode characters
and currently is essentially accepting what is defined in XML 1.1 and not XML 1.0
3. it does not do detection of input stream encoding and relies on user to
declare it correctly as setInput parameter (np problem if you are using ReadeR)
4. it is well tested but stable version is relatively new so beware that there can be
some undiscovered bugs (this is open source project so patches are gratefully accepted
and your contribution will be acknowledged and appreciated by other users :-))
it is not very difficult to fix those problems and i will eventually do this
when i have few weeks of free time (there is even first incomplete stab on
DTD parsing and internal entities on source code) with ultimate goal to pass
OASIS conformance tests for XML 1.0 non-validating parser but i do not see happening
it too soon :-)
thanks,
alek
--
The ancestor of every action is a thought. - Ralph Waldo Emerson
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Share the magic of Harry Potter with Yahoo! Messenger
http://us.click.yahoo.com/4Q_cgB/JmBFAA/46VHAA/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/