Re: Problem: org.xmlpull.v1.XmlPullParserException: PI must not start with xml

"orsteglasy" <[email protected]> Thu, 03 May 2007 15:01:56 -0000
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
I found the solution: Nokia6600 has a java implementation bug. 
Details: 
http://sourceforge.net/forum/forum.php?
thread_id=1636276&forum_id=532039 




--- In [email protected], Tatu Saloranta <cowtowncoder@...> 
wrote:
>
> --- orsteglasy <orsteglasy@...> wrote:
> 
> > Hi, 
> > 
> > I'm trying to use ksoap2 to access .net webservices
> > from a midlet. My 
> > code runs fine on emulator, but gives this error
> > message on phisical 
> > device (nokia 6600): 
> > 
> > org.xmlpull.v1.XmlPullParserException: PI must not
> > start with xml 
> 
> Just a guess, but probably you have white space
> preceding xml declaration. That is illegal -- if there
> is an xml declaration (<?xml .... ?>), it MUST start
> right away, with no leading white space.
> This would give this particular exception.
> 
> Xml declaration is not a processing instruction (just
> looks like one) -- no processing instruction is
> allowed to have name that starts with letter sequence
> 'x', 'm', 'l' (case insensitive).
> 
> Hope this helps,
> 
> -+ Tatu +-
> 
> 
> 
>  
> 
______________________________________________________________________
______________
> We won't tell. Get more on shows you hate to love 
> (and love to hate): Yahoo! TV's Guilty Pleasures list.
> http://tv.yahoo.com/collections/265
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xmlpull-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xmlpull-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> 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/