|
RE: [XmlBeans V2] [BUG ?] Unexpected element: CDATA: msg#00150text.xml.xmlbeans.user
That's a good idea, too many people are running into this for it to be ignored, and the JavaDoc in XmlObject.Factory doesn't always help. -----Original Message----- From: Jeegar Shah [mailto:jeegarshah@xxxxxxxxxxx] Sent: Wednesday, January 26, 2005 11:27 AM To: user@xxxxxxxxxxxxxxxxxxx Subject: Re: [XmlBeans V2] [BUG ?] Unexpected element: CDATA I was facing the exact same issues. pulled all the hairs out of my head for few days till I discovered this. Sorry too late reading this posting. Well maybe IMHO the parameter name of the methods can be made more descriptive (instead of just s) to make them intutive. Most of the current IDEs will tool tip prompt the signature of the method while coding it and that may strike the light bulb on to avoid such situation... >From: Stéphane Rault <ksbrault@xxxxxxxx> >Reply-To: user@xxxxxxxxxxxxxxxxxxx >To: user@xxxxxxxxxxxxxxxxxxx >Subject: Re: [XmlBeans V2] [BUG ?] Unexpected element: CDATA >Date: Tue, 25 Jan 2005 20:45:22 +0100 >MIME-Version: 1.0 >Received: from mail.apache.org ([209.237.227.199]) by mc5-f13.hotmail.com >with Microsoft SMTPSVC(6.0.3790.211); Tue, 25 Jan 2005 11:46:43 -0800 >Received: (qmail 79123 invoked by uid 500); 25 Jan 2005 19:45:27 -0000 >Received: (qmail 79110 invoked by uid 99); 25 Jan 2005 19:45:27 -0000 >Received: pass (hermes.apache.org: local policy includes SPF record at >spf.trusted-forwarder.org) >Received: from smtp005.mail.ukl.yahoo.com (HELO smtp005.mail.ukl.yahoo.com) >(217.12.11.36) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 25 Jan 2005 >11:45:25 -0800 >Received: from unknown (HELO ?192.168.0.2?) (ksbrault@xxxxxxxxxxxxx with >plain) by smtp005.mail.ukl.yahoo.com with SMTP; 25 Jan 2005 19:45:23 -0000 >X-Message-Info: JGTYoYF78jG7gveMtaMb/h1wDLTX6Xwe9dRcZ1VuGKU= >Mailing-List: contact user-help@xxxxxxxxxxxxxxxxxxx; run by ezmlm >Precedence: bulk >List-Post: <mailto:user@xxxxxxxxxxxxxxxxxxx> >List-Help: <mailto:user-help@xxxxxxxxxxxxxxxxxxx> >List-Unsubscribe: <mailto:user-unsubscribe@xxxxxxxxxxxxxxxxxxx> >List-Subscribe: <mailto:user-subscribe@xxxxxxxxxxxxxxxxxxx> >Delivered-To: mailing list user@xxxxxxxxxxxxxxxxxxx >X-ASF-Spam-Status: No, hits=0.0 required=10.0tests= >X-Spam-Check-By: apache.org >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) >Gecko/20041217 >X-Accept-Language: en-us, en >References: ><4B2B4C417991364996F035E1EE39E2E101C874ED@xxxxxxxxxxxxxxxxxxxxx> ><41F69E73.2010201@xxxxxxxx> <41F69FC5.6040702@xxxxxxxxx> >X-Virus-Checked: Checked >Return-Path: user-return-1696-jeegarshah=hotmail.com@xxxxxxxxxxxxxxxxxxx >X-OriginalArrivalTime: 25 Jan 2005 19:46:43.0252 (UTC) >FILETIME=[987E8740:01C50316] > >TMG wrote: > >>The parse method can take either a File or String (and other datatypes). >>The second one fails because the String passed as an argument is not >>serialized xml. > > >Yes, that's what I've discovered .... too late :-) > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@xxxxxxxxxxxxxxxxxxx >For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxx > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@xxxxxxxxxxxxxxxxxxx For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Trailing blank space / Whitespace is not preserved : XmlObject.newDomNode: 00150, Dogan Atay |
|---|---|
| Next by Date: | RE: Trailing blank space / Whitespace is not preserved : XmlObject.newDomNode: 00150, Jeegar Shah |
| Previous by Thread: | RE: Trailing blank space / Whitespace is not preserved : XmlObject.newDomNodei: 00150, Jeegar Shah |
| Next by Thread: | ClassCastException: org.apache.xmlbeans.impl.values.XmlComplexContentImpl: 00150, Scott Hinkelman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |