Re: development 1.1.1 version of XmlPull API
Aleksander Slominski <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Stefan Haustein wrote: > Alek, > > I am still having some trouble with kXML and the tests: > > - the tests seem to imply that the reader/input stream > must not be touched until the first call to next(). > In my opinion, setInputStream (is, encoding) should > be allowed to determine the encoding immediately (as > far as I remember, we already had a corressp. dicussion > here in the list...??) i will change tests to reflect it - which one were not working? i also need ot modify tests to make sure that XMLDecl is not reported. > > - in my opinion, setPrefix should be setPrefix (String prefix, > String namespace), instead of setPrefix (String namespace, String prefix) > in order to reflect the xmlns:prefix="namespace" order?? you are right this is more logical - i will change it now. > - Would it be a big problem to display the current > XML input document in the case of an parser error? > Sometimes it is a bit difficult what is going on in > the tests....? i will look on it. the problem is in JUNIT and how flexible it is. thanks, alek