logo       

Re: Problem: org.xmlpull.v1.XmlPullParserException: PI must not start with : msg#00001

Subject: Re: Problem: org.xmlpull.v1.XmlPullParserException: PI must not start with xml
--- orsteglasy <orsteglasy@xxxxxxxxx> 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:xmlpull-dev-digest@xxxxxxxxxxxxxxx 
    mailto:xmlpull-dev-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    xmlpull-dev-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe