[jdom-interest] Qualified names with SAXBuilder.build(Reader reader).....
bob mcwhirter
bob at werken.com
Tue Jul 23 21:52:59 PDT 2002
Is the SOAP-ENV prefix defined somewhere?
-bob
On Wed, 24 Jul 2002, sanjay gupta wrote:
> Hi Alex,
> I obtain my XML string from a soap envelope, and my XML follows :-
>
> <SOAP-ENV:Fault>
> <faultcode>Client</faultcode>
> <faultstring>Client Error</faultstring>
> <detail>
> <dispositionReport xmlns="urn:uddi-org:api" generic="2.0">
> <result errno="10150">
> <errInfo errCode="E_unknownUser">The user ID and password pair passe
> d in a get_authToken message is not known to the Operator Site or is not valid.<
> /errInfo>
> </result>
> </dispositionReport>
> </detail>
> </SOAP-ENV:Fault>
>
>
>
> -----Original Message-----
> From: "Alex Rosen" <arosen at silverstream.com>
> To: "'sanjay gupta'" <sanjaygupta at myrealbox.com>
> Date: Tue, 23 Jul 2002 14:28:44 -0400
> Subject: RE: [jdom-interest] Qualified names with SAXBuilder.build(Reader reader).....
>
> Sounds like your XML file is bad, why don't you send it to the list?
>
> > -----Original Message-----
> > From: jdom-interest-admin at jdom.org
> > [mailto:jdom-interest-admin at jdom.org]On Behalf Of sanjay gupta
> > Sent: Tuesday, July 23, 2002 9:48 AM
> > To: jdom-interest at jdom.org
> > Subject: [jdom-interest] Qualified names with SAXBuilder.build(Reader
> > reader).....
> >
> >
> > Hi All,
> > Greetings.
> >
> > I need to get Elements from StringReader as inputsource, for
> > which i use SAXBuilder.build(Reader) call, but this call
> > throws an exception which is as follows :-
> >
> > Caused by: org.xml.sax.SAXParseException: Undeclared prefix
> > in name: "xyz:abc".
> > at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
> > at
> > org.apache.crimson.parser.Parser2.processName(Parser2.java:1660)
> > at
> > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1487)
> > at
> > org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
> > at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> > at
> > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
> >
> > at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
> > at org.jdom.input.SAXBuilder.build(SAXBuilder.java:740)
> >
> > How to overcome this, as my XML data contains qualified names.
> >
> > Any tips, comments, samplecode will be of much help.
> > Regards,
> > Sanjay
> >
> > Yesterday is just a memory
> > Tomorrow we may never see
> > Today is like a gift
> > That's why its called the present
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com
>
>
>
> Yesterday is just a memory
> Tomorrow we may never see
> Today is like a gift
> That's why its called the present
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>
--
Bob McWhirter bob at werken.com
The Werken Company http://werken.com/
More information about the jdom-interest
mailing list