From userchristophersmith@example.com Wed Jun 03 19:11:07 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 60667 invoked from network); 3 Jun 2009 19:11:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jun 2009 19:11:07 -0000 Received: (qmail 11334 invoked by uid 500); 3 Jun 2009 19:11:19 -0000 Delivered-To: christophersmith@example.com Received: (qmail 11289 invoked by uid 500); 3 Jun 2009 19:11:19 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 11281 invoked by uid 99); 3 Jun 2009 19:11:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 19:11:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO nscorp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 19:11:09 +0000 Received: from ([83.161.120.155]) by mail2.nscorp.com with ESMTP id GVKYXF1.20092893; Wed, 03 Jun 2009 15:04:40 -0400 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_YwnX9MZTdlrUeox5ZMwOgQ)" Received: from GATUCITEXSM02S.nscorp.ad.nscorp.com ([83.161.120.155]) by blacktip.atldc.nscorp.com (Sun Java(tm) System Messaging Server 6.3-1.04 (built May 9 2007; 32bit)) with ESMTP id <christophersmith@example.com> for christophersmith@example.com; Wed, 03 Jun 2009 15:10:47 -0400 (EDT) Received: from GATUCITEXCH03S.nscorp.ad.nscorp.com ([83.161.120.155]) by GATUCITEXSM02S.nscorp.ad.nscorp.com with Microsoft SMTPSVC231.721.8345) ; Wed, 03 Jun 2009 15:10:47 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: XML validation not showing element name in error Date: Wed, 03 Jun 2009 15:10:46 -0400 Message-id: <christophersmith@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: XML validation not showing element name in error Thread-index: Acnkfv1xH2qOH67/TLOZ2CvHjXVqgw== To: christophersmith@example.com X-OriginalArrivalTime: 03 Jun 2009 19:10:47.0123 (UTC) FILETIME=[0025DA30:01C9E47F] From: "Gillen, Paul" <christophersmith@example.com> X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_YwnX9MZTdlrUeox5ZMwOgQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT I have an XSD containing an element definition: <xs:element name="SEQUENCE_NUMBER"> <xs:simpleType> <xs:restriction base="xs:long"> <xs:minInclusive value="1"/> <xs:maxInclusive value="9999999999999"/> </xs:restriction> </xs:simpleType> </xs:element> When I try to validate XML containing: <SEQUENCE_NUMBER/> I get the message: Invalid decimal value: expected at least one digit There is no indication that this is for the SEQUENCE_NUMBER element. Is there any way to get that? The code: try { ArrayList validationErrors = new ArrayList(); XmlOptions validationOptions = new XmlOptions(); validationOptions.setErrorListener(validationErrors); tempObject = (XmlObject) xClassFactoryParse.invoke(null, aXml); if (!tempObject.validate(validationOptions)) { String exMsg = "validation failed"; Iterator iter = validationErrors.iterator(); while (iter.hasNext()) { XmlValidationError valErr = (XmlValidationError)iter.next(); exMsg += "\n\t" + valErr.getMessage(); } return exMsg; } return "XML document is valid"; } catch (Exception e) { return "Document could not be validated"; } --Boundary_(ID_YwnX9MZTdlrUeox5ZMwOgQ) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} h4 {margin:0in; margin-bottom:.0001pt; page-break-after:avoid; mso-list:skip; font-size:10.0pt; font-family:Arial; font-style:italic;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>I have an XSD containing an element definition:<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:element name=&quot;SEQUENCE_NUMBER&quot;&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:simpleType&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:restriction base=&quot;xs:long&quot;&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:minInclusive value=&quot;1&quot;/&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:maxInclusive value=&quot;9999999999999&quot;/&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:restriction&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:simpleType&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:element&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>When I try to validate XML containing:<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SEQUENCE_NUMBER/&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>I get the message:<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Invalid decimal value: expected at least one digit<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>There is no indication that this is for the SEQUENCE_NUMBER element.&nbsp; Is there any way to get that?&nbsp; <o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>The code:&nbsp; <o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ArrayList&nbsp;&nbsp; validationErrors&nbsp;&nbsp;&nbsp; = new ArrayList();<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlOptions&nbsp; validationOptions&nbsp;&nbsp; = new XmlOptions();<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; validationOptions.setErrorListener(validationErrors);<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tempObject = (XmlObject) xClassFactoryParse.invoke(null, aXml);<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!tempObject.validate(validationOptions))<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp; <o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exMsg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp; &quot;validation failed&quot;;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Iterator&nbsp;&nbsp;&nbsp; iter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = validationErrors.iterator();<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while (iter.hasNext())<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlValidationError valErr = (XmlValidationError)iter.next();<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exMsg&nbsp;&nbsp; +=&nbsp; &quot;\n\t&quot; + valErr.getMessage();<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } <o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return exMsg;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return &quot;XML document is valid&quot;;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (Exception e)<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return &quot;Document could not be validated&quot;;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></font></p> </div> </body> </html> --Boundary_(ID_YwnX9MZTdlrUeox5ZMwOgQ)-- From userchristophersmith@example.com Wed Jun 03 20:49:34 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 92327 invoked from network); 3 Jun 2009 20:49:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jun 2009 20:49:34 -0000 Received: (qmail 51165 invoked by uid 500); 3 Jun 2009 20:49:46 -0000 Delivered-To: christophersmith@example.com Received: (qmail 51141 invoked by uid 500); 3 Jun 2009 20:49:46 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 51133 invoked by uid 99); 3 Jun 2009 20:49:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 20:49:46 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO acsinet12.oracle.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 20:49:36 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [83.161.120.155]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n53KmQK3026268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <christophersmith@example.com>; Wed, 3 Jun 2009 20:48:27 GMT Received: from abhmt002.oracle.com (abhmt002.oracle.com [83.161.120.155]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n53KoBTL005222 for <christophersmith@example.com>; Wed, 3 Jun 2009 20:50:11 GMT Received: from [83.161.120.155] (/83.161.120.155) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 03 Jun 2009 13:49:11 -0700 Subject: Re: How can I get the annotation of a choice? From: Radu Preotiuc <christophersmith@example.com> To: christophersmith@example.com In-Reply-To: <christophersmith@example.com> References: <christophersmith@example.com> Content-Type: text/plain Date: Wed, 03 Jun 2009 16:47:46 -0400 Message-Id: <1244062066.426.11.camel@radup02> Mime-Version: 1.0 X-Mailer: Evolution 83.161.120.155 (83.161.120.155-1.fc9) Content-Transfer-Encoding: 7bit X-Source-IP: abhmt002.oracle.com [83.161.120.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020B.4A26E1C8.00C1:SCFSTAT5015188,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org Schema annotations on <choice>, (<sequence> and <all>) is not implemented. Schema annotations on the <extension> and <restriction> elements are not supposed to be accessible as far as I understand the specification, because annotations are accessed via the component, and there is no "extension" or "restriction" component in Schemas. One could sort of merge them with the annotation of the type, but again I don't see any hint in the specification that that's what's expected. Radu On Mon, 2009-05-25 at 10:56 +0200, Hildegunde Weinzierl wrote: > > Hi, > > how can I get the annotation of a choice? > > Example: > > <xsd:choice minOccurs="0" maxOccurs="1"> > <xsd:annotation> > <xsd:appinfo> > ... <- this annotation I want > to get! > </xsd:appinfo> > </xsd:annotation> > <xsd:element name="element1" minOccurs="1" maxOccurs="1"> > <xsd:annotation> > <xsd:appinfo> > ... > </xsd:appinfo> > </xsd:annotation> > </xsd:element> > ... > </xsd:choice> > > Best regards > > Hildegunde Weinzierl --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Wed Jun 03 20:51:44 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 92702 invoked from network); 3 Jun 2009 20:51:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jun 2009 20:51:44 -0000 Received: (qmail 55109 invoked by uid 500); 3 Jun 2009 20:51:56 -0000 Delivered-To: christophersmith@example.com Received: (qmail 55088 invoked by uid 500); 3 Jun 2009 20:51:56 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 55080 invoked by uid 99); 3 Jun 2009 20:51:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 20:51:56 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO acsinet11.oracle.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 20:51:44 +0000 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [83.161.120.155]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n53KpuAP025640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <christophersmith@example.com>; Wed, 3 Jun 2009 20:52:07 GMT Received: from abhmt006.oracle.com (abhmt006.oracle.com [83.161.120.155]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n53KpEw6028996 for <christophersmith@example.com>; Wed, 3 Jun 2009 20:51:14 GMT Received: from [83.161.120.155] (/83.161.120.155) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 03 Jun 2009 13:51:08 -0700 Subject: Re: XML validation not showing element name in error From: Radu Preotiuc <christophersmith@example.com> To: christophersmith@example.com In-Reply-To: <christophersmith@example.com> References: <christophersmith@example.com> Content-Type: text/plain Date: Wed, 03 Jun 2009 16:49:43 -0400 Message-Id: <1244062183.426.13.camel@radup02> Mime-Version: 1.0 X-Mailer: Evolution 83.161.120.155 (83.161.120.155-1.fc9) Content-Transfer-Encoding: 7bit X-Source-IP: abhmt006.oracle.com [83.161.120.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010208.4A26E23D.0206:SCFSTAT5015188,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org No, not currently. There is definitely room for improvement as far as this error message is concerned. Hopefully, the message is pretty clear though and allows you to do a quick search in the document for the offending element instance. Radu On Wed, 2009-06-03 at 15:10 -0400, Gillen, Paul wrote: > I have an XSD containing an element definition: > > <xs:element name="SEQUENCE_NUMBER"> > > <xs:simpleType> > > <xs:restriction base="xs:long"> > > <xs:minInclusive value="1"/> > > <xs:maxInclusive > value="9999999999999"/> > > </xs:restriction> > > </xs:simpleType> > > </xs:element> > > > > When I try to validate XML containing: > > <SEQUENCE_NUMBER/> > > I get the message: > > Invalid decimal value: expected at least one digit > > > > There is no indication that this is for the SEQUENCE_NUMBER element. > Is there any way to get that? > > > > The code: > > try > > { > > ArrayList validationErrors = new ArrayList(); > > XmlOptions validationOptions = new XmlOptions(); > > validationOptions.setErrorListener(validationErrors); > > > > tempObject = (XmlObject) xClassFactoryParse.invoke(null, > aXml); > > > > if (!tempObject.validate(validationOptions)) > > { > > String exMsg = "validation failed"; > > Iterator iter = validationErrors.iterator(); > > while (iter.hasNext()) > > { > > XmlValidationError valErr = > (XmlValidationError)iter.next(); > > exMsg += "\n\t" + valErr.getMessage(); > > } > > return exMsg; > > } > > return "XML document is valid"; > > } > > catch (Exception e) > > { > > return "Document could not be validated"; > > } > > --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Thu Jun 04 09:52:13 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 55227 invoked from network); 4 Jun 2009 09:52:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jun 2009 09:52:13 -0000 Received: (qmail 7874 invoked by uid 500); 4 Jun 2009 09:52:22 -0000 Delivered-To: christophersmith@example.com Received: (qmail 7743 invoked by uid 500); 4 Jun 2009 09:52:22 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 7728 invoked by uid 99); 4 Jun 2009 09:52:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 09:52:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.siapcn.it) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 09:52:11 +0000 Received: from localhost (localhost [83.161.120.155]) by mail.siapcn.it (Postfix) with ESMTP id 984E81601B; Thu, 4 Jun 2009 11:51:26 +0200 (CEST) X-Virus-Scanned: christophersmith@example.com Received: from mail.siapcn.it ([83.161.120.155]) by localhost (mail.siapcn.it [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 9L8zYIvk-MKV; Thu, 4 Jun 2009 11:51:25 +0200 (CEST) Received: from [83.161.120.155] (www.siapcn.it [83.161.120.155]) by mail.siapcn.it (Postfix) with ESMTP id BBF3816017; Thu, 4 Jun 2009 11:51:24 +0200 (CEST) Subject: [Axis2] 2 version of the same XSD From: Bartolomeo Nicolotti <christophersmith@example.com> To: christophersmith@example.com, "christophersmith@example.com" <christophersmith@example.com> Cc: Adela Ciobra <christophersmith@example.com>, Livio Costamagna <christophersmith@example.com> In-Reply-To: <christophersmith@example.com> References: <christophersmith@example.com> Content-Type: text/plain; charset=UTF-8 Organization: SIAP-Sistemi Applicativi Date: Thu, 04 Jun 2009 11:51:46 +0200 Message-Id: <1244109106.8481.25.camel@LxPC37> Mime-Version: 1.0 X-Mailer: Evolution 83.161.120.155 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, we're using Axi2 with xmlbeans data binding to handle Open Travel Alliance (OTA) xml literal messages: http://www.opentravel.org/Specifications/ReleaseNotes.aspx?spec=2007A The problem is that now we've the need to deal with 2 version of this standard 2007A and 2005A, that use the *same namespace*. Our web service receives 2007A xml and forwards 2005A msg to another webservice of another firm. We've created the xmlbean classes for both, the ones from 2007A in the package OTA_xml and the others from 2005A in the package OTA_2005A, but when using OTA_2005A.OTA....Factory.parse we get ClassCastException. I think that this is due to the fact that when parsing xmlbeans is not able to understand from which package to construct the instances, as the namespace in the two is the same. Am i correct? Is there a way to parse xml of the two types? Many thanks for the great software that axis2/xmlbeans is. Regards -- Bartolomeo Nicolotti SIAP s.r.l. www.siapcn.it v.S.Albano 13 12049 Trinità(CN) Italy ph:231.721.8345 centralino: 231.721.8345 fax: 231.721.8345 --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Thu Jun 04 14:36:10 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 74130 invoked from network); 4 Jun 2009 14:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jun 2009 14:36:07 -0000 Received: (qmail 33574 invoked by uid 500); 4 Jun 2009 14:36:18 -0000 Delivered-To: christophersmith@example.com Received: (qmail 33541 invoked by uid 500); 4 Jun 2009 14:36:18 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 33533 invoked by uid 99); 4 Jun 2009 14:36:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 14:36:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO nscorp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 14:36:09 +0000 Received: from ([83.161.120.155]) by mail2.nscorp.com with ESMTP id GVKYXF1.20173582; Thu, 04 Jun 2009 10:29:36 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from GATUCITEXSM01S.nscorp.ad.nscorp.com ([83.161.120.155]) by blacktip.atldc.nscorp.com (Sun Java(tm) System Messaging Server 6.3-1.04 (built May 9 2007; 32bit)) with ESMTP id <christophersmith@example.com> for christophersmith@example.com; Thu, 04 Jun 2009 10:35:45 -0400 (EDT) Received: from GATUCITEXCH03S.nscorp.ad.nscorp.com ([83.161.120.155]) by GATUCITEXSM01S.nscorp.ad.nscorp.com with Microsoft SMTPSVC231.721.8345) ; Thu, 04 Jun 2009 10:35:45 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: RE: XML validation not showing element name in error Date: Thu, 04 Jun 2009 10:35:45 -0400 Message-id: <christophersmith@example.com> In-reply-to: <1244062183.426.13.camel@radup02> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: XML validation not showing element name in error Thread-index: AcnkjSRVRi0YgoaeRwCzjt6WtR+92QAkm9oA References: <christophersmith@example.com> <1244062183.426.13.camel@radup02> To: christophersmith@example.com X-OriginalArrivalTime: 04 Jun 2009 14:35:45.0678 (UTC) FILETIME=[BEEEEAE0:01C9E521] From: "Gillen, Paul" <christophersmith@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Thank you Radu. So often on these fora when the "happy message" isn't appropriate one never gets a response. For documentation purposes should anyone else encounter this problem, I've tried every combination of cursor, line number, etc. and none will give you any indicator or pointer to the problem. Paul -----Original Message----- From: Radu Preotiuc [mailto:christophersmith@example.com] Sent: Wednesday, June 03, 2009 4:50 PM To: christophersmith@example.com Subject: Re: XML validation not showing element name in error No, not currently. There is definitely room for improvement as far as this error message is concerned. Hopefully, the message is pretty clear though and allows you to do a quick search in the document for the offending element instance. Radu On Wed, 2009-06-03 at 15:10 -0400, Gillen, Paul wrote: > I have an XSD containing an element definition: > > <xs:element name="SEQUENCE_NUMBER"> > > <xs:simpleType> > > <xs:restriction base="xs:long"> > > <xs:minInclusive value="1"/> > > <xs:maxInclusive > value="9999999999999"/> > > </xs:restriction> > > </xs:simpleType> > > </xs:element> > > > > When I try to validate XML containing: > > <SEQUENCE_NUMBER/> > > I get the message: > > Invalid decimal value: expected at least one digit > > > > There is no indication that this is for the SEQUENCE_NUMBER element. > Is there any way to get that? > > > > The code: > > try > > { > > ArrayList validationErrors = new ArrayList(); > > XmlOptions validationOptions = new XmlOptions(); > > validationOptions.setErrorListener(validationErrors); > > > > tempObject = (XmlObject) xClassFactoryParse.invoke(null, > aXml); > > > > if (!tempObject.validate(validationOptions)) > > { > > String exMsg = "validation failed"; > > Iterator iter = validationErrors.iterator(); > > while (iter.hasNext()) > > { > > XmlValidationError valErr = > (XmlValidationError)iter.next(); > > exMsg += "\n\t" + valErr.getMessage(); > > } > > return exMsg; > > } > > return "XML document is valid"; > > } > > catch (Exception e) > > { > > return "Document could not be validated"; > > } > > --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Mon Jun 08 13:49:44 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 3581 invoked from network); 8 Jun 2009 13:49:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Jun 2009 13:49:43 -0000 Received: (qmail 63145 invoked by uid 500); 8 Jun 2009 13:49:55 -0000 Delivered-To: christophersmith@example.com Received: (qmail 63093 invoked by uid 500); 8 Jun 2009 13:49:55 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 63085 invoked by uid 99); 8 Jun 2009 13:49:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 13:49:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO nscorp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 13:49:47 +0000 Received: from ([83.161.120.155]) by mail1.nscorp.com with ESMTP id CVKYXF1.24929970; Mon, 08 Jun 2009 09:39:51 -0400 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_BUKmR3UT+aSHUpRALYjrlA)" Received: from GATUCITEXSM02S.nscorp.ad.nscorp.com ([83.161.120.155]) by greenland.atldc.nscorp.com (Sun Java(tm) System Messaging Server 6.3-1.04 (built May 9 2007; 32bit)) with ESMTP id <christophersmith@example.com> for christophersmith@example.com; Mon, 08 Jun 2009 09:49:21 -0400 (EDT) Received: from GATUCITEXCH03S.nscorp.ad.nscorp.com ([83.161.120.155]) by GATUCITEXSM02S.nscorp.ad.nscorp.com with Microsoft SMTPSVC231.721.8345) ; Mon, 08 Jun 2009 09:49:21 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: XmlBeans scomp to compile a WSDL Date: Mon, 08 Jun 2009 09:49:21 -0400 Message-id: <christophersmith@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: XmlBeans scomp to compile a WSDL Thread-index: AcnoP+yndUIrg/BaTRaXcnPeyTUgDA== To: christophersmith@example.com X-OriginalArrivalTime: 08 Jun 2009 13:49:21.0537 (UTC) FILETIME=[ED1BB710:01C9E83F] From: "Gillen, Paul" <christophersmith@example.com> X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_BUKmR3UT+aSHUpRALYjrlA) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT I've got a WSDL that contains in part: <wsdl:message name="RequestMessage"> <wsdl:part name="reqParameter" element="r:Request"/> </wsdl:message> "r:Request" refers to an external XSD. When I compile the WSDL using scomp I get classes generated for "Request" but not "RequestMessage". The XML generated from the WSDL however is "RequestMessage" so I can't use the scomp generated classes to validate the WSDL generated XML document. ... unless I'm doing (or not doing) something stupid. =Paul= --Boundary_(ID_BUKmR3UT+aSHUpRALYjrlA) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} h4 {margin:0in; margin-bottom:.0001pt; page-break-after:avoid; mso-list:skip; font-size:10.0pt; font-family:Arial; font-style:italic;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span style='font-size:10.0pt'>I&#8217;ve got a WSDL that contains in part:</span></font><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:black;background:white'> <o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>&lt;</span></font><font size=3 color=maroon face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:maroon;background:white'>wsdl:message</span></font><font size=3 color=red face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:red;background:white'> name</span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>=&quot;</span></font><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:black;background:white'>RequestMessage</span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>&quot;&gt;</span></font><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:black;background:white'><o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"; color:black;background:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>&lt;</span></font><font size=3 color=maroon face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:maroon;background:white'>wsdl:part</span></font><font size=3 color=red face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:red;background:white'> name</span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>=&quot;</span></font><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:black;background:white'>reqParameter</span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>&quot;</span></font><font size=3 color=red face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:red;background:white'> element</span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>=&quot;</span></font><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:black;background:white'>r:Request</span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>&quot;/&gt;</span></font><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:black;background:white'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";color:black;background: white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>&lt;/</span></font><font size=3 color=maroon face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:maroon;background:white'>wsdl:message</span></font><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt; font-family:"Times New Roman";color:blue;background:white'>&gt;</span></font><o:p></o:p></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&#8220;r:Request&#8221; refers to an external XSD.&nbsp; When I compile the WSDL using scomp I get classes generated for &#8220;Request&#8221; but not &#8220;RequestMessage&#8221;.&nbsp; The XML generated from the WSDL however is &#8220;RequestMessage&#8221; so I can&#8217;t use the scomp generated classes to validate the WSDL generated XML document.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>&#8230; unless I&#8217;m doing (or not doing) something stupid.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>=Paul=<o:p></o:p></span></font></p> </div> </body> </html> --Boundary_(ID_BUKmR3UT+aSHUpRALYjrlA)-- From userchristophersmith@example.com Mon Jun 08 16:25:37 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 77763 invoked from network); 8 Jun 2009 16:25:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Jun 2009 16:25:36 -0000 Received: (qmail 47174 invoked by uid 500); 8 Jun 2009 16:25:48 -0000 Delivered-To: christophersmith@example.com Received: (qmail 47148 invoked by uid 500); 8 Jun 2009 16:25:48 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 47140 invoked by uid 99); 8 Jun 2009 16:25:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 16:25:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christophersmith@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f184.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 16:25:39 +0000 Received: by qyk14 with SMTP id 14so2560490qyk.29 for <christophersmith@example.com>; Mon, 08 Jun 2009 09:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nqiuRGZZmhbt0p+a9UNELAD3G/Frf37CPpDPnDhiNl0=; b=snCgM4LFtEDcgwDXQ1xUOPF+q6IS2zf8dmAnBT9txCc99YkHwPwXQgDwnEdIpE7HyI NwCmChKY0lPGDbp5FKyLxhABEpGKbrW4qGveVh1dvNOAvIFQlOr1D4kdOZeAImpZhZ8c b3FSqn0Tw3vuTYzn7V8ZFXkRB7y7quo3TlIXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=w2Ei1LyRNRtin/RuQ9x3L0MHnXtYDd7BRTArfsg/M4BrenmeHRtzT7ygJ85qXuqqRC /Xw2oLZDDi0TJkHxEPSiqbn0sryYjZsQgRiFK9uhiV7/OCQDOuNR7jdMTommMs2HYtT9 AAI5l6IzpOCrDfoueIYujqOPvr5W6XP0CFkJM= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id w2mr1575415qck.12.1244478318310; Mon, 08 Jun 2009 09:25:18 -0700 (PDT) In-Reply-To: <christophersmith@example.com> References: <christophersmith@example.com> Date: Mon, 8 Jun 2009 09:25:18 -0700 Message-ID: <christophersmith@example.com> Subject: Re: XmlBeans scomp to compile a WSDL From: Jacob Danner <christophersmith@example.com> To: christophersmith@example.com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org RequestMessage would only be created if it was defined in any of the XSDs referenced in the WSDL. I'm guessing your WSDL is not of the document/literal variety as you were expecting. If you are looking for something you can use to bind messages to Java for working with webservices, try Axis2 as its a pretty full and complete stack that has bindings for working with XMLBeans. On Mon, Jun 8, 2009 at 6:49 AM, Gillen, Paul<christophersmith@example.com> wrote: > I=92ve got a WSDL that contains in part: > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <wsdl:message name=3D"RequestMessage"> > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <ws= dl:part name=3D"reqParameter" element=3D"r:Request"/> > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </wsdl:message> > > > > =93r:Request=94 refers to an external XSD.=A0 When I compile the WSDL usi= ng scomp > I get classes generated for =93Request=94 but not =93RequestMessage=94.= =A0 The XML > generated from the WSDL however is =93RequestMessage=94 so I can=92t use = the scomp > generated classes to validate the WSDL generated XML document. > > > > =85 unless I=92m doing (or not doing) something stupid. > > > > =3DPaul=3D --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Mon Jun 08 17:27:55 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 19862 invoked from network); 8 Jun 2009 17:27:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Jun 2009 17:27:55 -0000 Received: (qmail 49069 invoked by uid 500); 8 Jun 2009 17:28:06 -0000 Delivered-To: christophersmith@example.com Received: (qmail 49023 invoked by uid 500); 8 Jun 2009 17:28:06 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 49015 invoked by uid 99); 8 Jun 2009 17:28:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 17:28:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO nscorp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 17:27:56 +0000 Received: from ([83.161.120.155]) by mail2.nscorp.com with ESMTP id GVKYXF1.20552524; Mon, 08 Jun 2009 13:21:05 -0400 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_yjSSVwc+PemQXJUsmyRfmw)" Received: from GATUCITEXSM01S.nscorp.ad.nscorp.com ([83.161.120.155]) by greenland.atldc.nscorp.com (Sun Java(tm) System Messaging Server 6.3-1.04 (built May 9 2007; 32bit)) with ESMTP id <christophersmith@example.com> for christophersmith@example.com; Mon, 08 Jun 2009 13:27:32 -0400 (EDT) Received: from GATUCITEXCH03S.nscorp.ad.nscorp.com ([83.161.120.155]) by GATUCITEXSM01S.nscorp.ad.nscorp.com with Microsoft SMTPSVC231.721.8345) ; Mon, 08 Jun 2009 13:27:31 -0400 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: RE: XmlBeans scomp to compile a WSDL Date: Mon, 08 Jun 2009 13:27:31 -0400 Message-id: <christophersmith@example.com> In-reply-to: <christophersmith@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: XmlBeans scomp to compile a WSDL Thread-index: AcnoVctazBW99FqPSy2JgR/8r31ujQABFqvw References: <christophersmith@example.com> <christophersmith@example.com> To: christophersmith@example.com X-OriginalArrivalTime: 08 Jun 2009 17:27:31.0985 (UTC) FILETIME=[679F9010:01C9E85E] From: "Gillen, Paul" <christophersmith@example.com> X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_yjSSVwc+PemQXJUsmyRfmw) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT If I said what I've been tasked with doing it might help. The system logs all XML in/out, some from web services, some from other sources. Each XML document can be viewed in a web page. I've been asked to add a "validate" button, i.e. is this valid per the relevant XSD? XMLBeans seems like a pretty straight-forward solution. For the "XSD generated" types I wrote a program that will accept a classname as a String and the XML as a string. The program instantiates the class, parses the XML, and validates it using XMLBeans facilities. I'm hoping I won't have to do something different for XML from a WSDL. That having been said I tried the Axis2 advice: wsdl2java -d xmlbeans -uri wsdl\my.wsdl ant No RequestMessageDocument.class was in the generated jar. The XML as logged is: <RequestMessage>...</RequestMessage> Is my objective achievable using XmlBeans, Axis2, or any other software? Paul -----Original Message----- From: Jacob Danner [mailto:christophersmith@example.com] Sent: Monday, June 08, 2009 12:25 PM To: christophersmith@example.com Subject: Re: XmlBeans scomp to compile a WSDL RequestMessage would only be created if it was defined in any of the XSDs referenced in the WSDL. I'm guessing your WSDL is not of the document/literal variety as you were expecting. If you are looking for something you can use to bind messages to Java for working with webservices, try Axis2 as its a pretty full and complete stack that has bindings for working with XMLBeans. On Mon, Jun 8, 2009 at 6:49 AM, Gillen, Paul<christophersmith@example.com> wrote: > I've got a WSDL that contains in part: > > <wsdl:message name="RequestMessage"> > > <wsdl:part name="reqParameter" element="r:Request"/> > > </wsdl:message> > > > > "r:Request" refers to an external XSD. When I compile the WSDL using scomp > I get classes generated for "Request" but not "RequestMessage". The XML > generated from the WSDL however is "RequestMessage" so I can't use the scomp > generated classes to validate the WSDL generated XML document. > > > > ... unless I'm doing (or not doing) something stupid. > > > > =Paul= --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com --Boundary_(ID_yjSSVwc+PemQXJUsmyRfmw) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} h4 {margin:0in; margin-bottom:.0001pt; page-break-after:avoid; mso-list:skip; font-size:10.0pt; font-family:Arial; font-style:italic;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} @page Section1 {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>If I said what I've been tasked with doing it might help.&nbsp; The system logs all XML in/out, some from web services, some from other sources.&nbsp; Each XML document can be viewed in a web page.&nbsp; I've been asked to add a &quot;validate&quot; button, i.e. is this valid per the relevant XSD?&nbsp; XMLBeans seems like a pretty straight-forward solution.&nbsp; <o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>For the &#8220;XSD generated&#8221; types I wrote a program that will accept a classname as a String and the XML as a string.&nbsp; The program instantiates the class, parses the XML, and validates it using XMLBeans facilities.&nbsp; I&#8217;m hoping I won&#8217;t have to do something different for XML from a WSDL.<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>That having been said I tried the Axis2 advice:<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wsdl2java -d xmlbeans -uri wsdl\my.wsdl<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ant<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>No RequestMessageDocument.class was in the generated jar.<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>The XML as logged is:<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RequestMessage&gt;...&lt;/RequestMessage&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>Is my objective achievable using XmlBeans, Axis2, or any other software?<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>Paul<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>-----Original Message-----<br> From: Jacob Danner [mailto:christophersmith@example.com] <br> Sent: Monday, June 08, 2009 12:25 PM<br> To: christophersmith@example.com<br> Subject: Re: XmlBeans scomp to compile a WSDL</span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>RequestMessage would only be created if it was defined in any of the<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>XSDs referenced in the WSDL. I'm guessing your WSDL is not of the<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>document/literal variety as you were expecting.<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>If you are looking for something you can use to bind messages to Java<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>for working with webservices, try Axis2 as its a pretty full and<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>complete stack that has bindings for working with XMLBeans.<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>On Mon, Jun 8, 2009 at 6:49 AM, Gillen, Paul&lt;christophersmith@example.com&gt; wrote:<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; I&#8217;ve got a WSDL that contains in part:<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;wsdl:message name=&quot;RequestMessage&quot;&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;wsdl:part name=&quot;reqParameter&quot; element=&quot;r:Request&quot;/&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/wsdl:message&gt;<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; &#8220;r:Request&#8221; refers to an external XSD.&nbsp; When I compile the WSDL using scomp<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; I get classes generated for &#8220;Request&#8221; but not &#8220;RequestMessage&#8221;.&nbsp; The XML<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; generated from the WSDL however is &#8220;RequestMessage&#8221; so I can&#8217;t use the scomp<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; generated classes to validate the WSDL generated XML document.<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; &#8230; unless I&#8217;m doing (or not doing) something stupid.<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>&gt; =Paul=<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>---------------------------------------------------------------------<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>To unsubscribe, e-mail: christophersmith@example.com<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'>For additional commands, e-mail: christophersmith@example.com<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size: 10.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> --Boundary_(ID_yjSSVwc+PemQXJUsmyRfmw)-- From userchristophersmith@example.com Tue Jun 09 09:08:09 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 1566 invoked from network); 9 Jun 2009 09:08:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Jun 2009 09:08:09 -0000 Received: (qmail 68602 invoked by uid 500); 9 Jun 2009 09:08:20 -0000 Delivered-To: christophersmith@example.com Received: (qmail 68571 invoked by uid 500); 9 Jun 2009 09:08:20 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 68563 invoked by uid 99); 9 Jun 2009 09:08:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 09:08:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christophersmith@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 09:08:11 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <christophersmith@example.com>) id 1MDxJ8-0002uK-4S for christophersmith@example.com; Tue, 09 Jun 2009 02:07:50 -0700 Message-ID: <christophersmith@example.com> Date: Tue, 9 Jun 2009 02:07:50 -0700 (PDT) From: minifreak <christophersmith@example.com> To: christophersmith@example.com Subject: Question about XML generation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: christophersmith@example.com X-Virus-Checked: Checked by ClamAV on apache.org Hi there, First, sorry if someone made the question already but I couldn't find it. My question is very simple, it is possible to generate automatically an element defined as: ..element type="xs:int" name="test" default="0" minOccurs="1" maxOccurs="1".. when I run xmlText(options) method? I read somewhere that XMLBeans doesn't generates anything but in this case I understand that the element test must appears once and have set a default value so it would be possible to generate automatically the element without explicit codification, isn't? Thx in advance. -- View this message in context: http://www.nabble.com/Question-about-XML-generation-tp23939159p23939159.html Sent from the Xml Beans - User mailing list christophersmith@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Wed Jun 10 09:56:32 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 81486 invoked from network); 10 Jun 2009 09:56:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Jun 2009 09:56:32 -0000 Received: (qmail 55671 invoked by uid 500); 10 Jun 2009 09:56:44 -0000 Delivered-To: christophersmith@example.com Received: (qmail 55630 invoked by uid 500); 10 Jun 2009 09:56:44 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 55622 invoked by uid 99); 10 Jun 2009 09:56:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 09:56:43 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christophersmith@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 09:56:34 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <christophersmith@example.com>) id 1MEKXW-0006rx-6E for christophersmith@example.com; Wed, 10 Jun 2009 02:56:14 -0700 Message-ID: <christophersmith@example.com> Date: Wed, 10 Jun 2009 02:56:14 -0700 (PDT) From: "horatiu.cherebetiu" <christophersmith@example.com> To: christophersmith@example.com Subject: Escaped characters problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: christophersmith@example.com X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have a problem with the output xml, it contains the =E2=80=98<=E2=80=99 a= nd =E2=80=98&=E2=80=99 escaped. I want that in the output xml, those characters not escaped(=E2=80=98<=E2= =80=99 tags not =E2=80=98&lt;=E2=80=99) and doing all this not using the CDATA tag, is this= possible ? Regards, Horatiu=20 --=20 View this message in context: http://www.nabble.com/Escaped-characters-prob= lem-tp23959092p23959092.html Sent from the Xml Beans - User mailing list christophersmith@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Wed Jun 10 18:37:09 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 60149 invoked from network); 10 Jun 2009 18:37:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Jun 2009 18:37:09 -0000 Received: (qmail 58442 invoked by uid 500); 10 Jun 2009 18:37:20 -0000 Delivered-To: christophersmith@example.com Received: (qmail 58403 invoked by uid 500); 10 Jun 2009 18:37:20 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 58395 invoked by uid 99); 10 Jun 2009 18:37:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 18:37:20 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO acsinet12.oracle.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 18:37:10 +0000 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [83.161.120.155]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5AIX2Gd027189 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <christophersmith@example.com>; Wed, 10 Jun 2009 18:33:03 GMT Received: from abhmt004.oracle.com (abhmt004.oracle.com [83.161.120.155]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5AIaoB9023130 for <christophersmith@example.com>; Wed, 10 Jun 2009 18:36:50 GMT MIME-Version: 1.0 Message-ID: <1e61e3e7-4038-454b-a38f-e8b01240aac2@default> Date: Wed, 10 Jun 2009 11:36:43 -0700 (PDT) From: Wing Yew Poon <christophersmith@example.com> To: christophersmith@example.com Subject: RE: Escaped characters problem References: <christophersmith@example.com> In-Reply-To: <christophersmith@example.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 1.5.1 (304090) [OL 11.8217.8221] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: abhmt004.oracle.com [83.161.120.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010205.4A2FFD3D.01AF:SCFSTAT5015188,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org In XML, the character data inside an element must not contain a raw unescaped open angle bracket (<); this character is always interpreted as the start of a tag. If you need to use this character, you can escape it using the built-in entity reference &lt; (or the numeric or hexadecimal numeric character references). Character data may not contain a raw unescaped ampersand (&) either. - Wing Yew -----Original Message----- From: horatiu.cherebetiu [mailto:christophersmith@example.com]=20 Sent: Wednesday, June 10, 2009 2:56 AM To: christophersmith@example.com Subject: Escaped characters problem Hi all, I have a problem with the output xml, it contains the '<' and '&' escaped. I want that in the output xml, those characters not escaped('<' tags not '&lt;') and doing all this not using the CDATA tag, is this possible ? Regards, Horatiu=20 --=20 View this message in context: http://www.nabble.com/Escaped-characters-prob= lem-tp23959092p23959092.html Sent from the Xml Beans - User mailing list christophersmith@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: christophersmith@example.com For additional commands, e-mail: christophersmith@example.com From userchristophersmith@example.com Sat Jun 13 10:30:11 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 32567 invoked from network); 13 Jun 2009 10:30:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 13 Jun 2009 10:30:11 -0000 Received: (qmail 15757 invoked by uid 500); 13 Jun 2009 10:30:22 -0000 Delivered-To: christophersmith@example.com Received: (qmail 15722 invoked by uid 500); 13 Jun 2009 10:30:22 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 15714 invoked by uid 99); 13 Jun 2009 10:30:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2009 10:30:22 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO ipmail04.adl2.internode.on.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2009 10:30:12 +0000 Received: from ppp121-44-128-158.lns10.syd7.internode.on.net (HELO [83.161.120.155]) ([83.161.120.155]) by ipmail04.adl2.internode.on.net with ESMTP; 13 Jun 2009 19:59:47 +0930 Message-Id: <christophersmith@example.com> From: Christopher Hunt <christophersmith@example.com> To: christophersmith@example.com In-Reply-To: <christophersmith@example.com> Content-Type: multipart/alternative; boundary=Apple-Mail-28-293814936 Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Xpath/Saxon classpath issue? Date: Sat, 13 Jun 2009 20:29:46 +1000 References: <christophersmith@example.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-28-293814936 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi there, I'm loving xmlbeans but one weird thing has held me up for a day or so now and I could do with some help. I'm using xmlbeans 2.4.0 combined with Saxon 9 to perform Xpath lookups on my document. All works well when running in the context of Eclipse and JUnit. However when I run via maven (mvn test) I get the message: java.lang.RuntimeException: Trying XBeans path engine... Trying XQRL... Trying Saxon... FAILED on declare namespace gml='http://www.opengis.net/gml/3.2';declare namespace wp='http://www.classactionpl.com/gml/worldPolitical';$this/wp:World/gml:name [lower-case(text())='earth political']/../*/gml:name[lower- case(text())='australia']/../*/gml:name[lower-case(text())='new south wales']/.. ...which implies that it can't find Saxon on the classpath right? (any further elaboration on what causes this message would be appreciated). If I look at the Surefire report then here's the classpath for the test: <property value="/Users/huntc/Development/Eclipse/workspace/World Political GML Model/target/classes:/Users/huntc/Development/Eclipse/ workspace/World Political GML Model/target/test-classes:/Users/ huntc/.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar:/ Users/huntc/.m2/repository/org/apache/xmlbeans/xmlbeans-xpath/2.4.0/ xmlbeans-xpath-2.4.0.jar:/Users/huntc/.m2/repository/org/apache/ xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar:/Users/huntc/.m2/repository/ junit/junit/3.8.1/junit-3.8.1.jar:/Users/huntc/.m2/repository/net/sf/ json-lib/json-lib/2.2.3/json-lib-2.2.3-jdk15.jar:/Users/huntc/.m2/ repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/ Users/huntc/.m2/repository/org/hibernate/hibernate-commons-annotations/ 3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar:/Users/huntc/.m2/ repository/commons-logging/commons-logging/1.0.4/commons- logging-1.0.4.jar:/Users/huntc/.m2/repository/stax/stax-api/1.0.1/stax- api-1.0.1.jar:/Users/huntc/.m2/repository/antlr/antlr/2.7.6/ antlr-2.7.6.jar:/Users/huntc/.m2/repository/commons-beanutils/commons- beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/huntc/.m2/ repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9- stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar:/Users/ huntc/.m2/repository/org/apache/maven/maven-profile/2.0.6/maven- profile-2.0.6.jar:/Users/huntc/.m2/repository/com/vividsolutions/jts/ 1.8/jts-1.8.jar:/Users/huntc/.m2/repository/asm/asm/1.5.3/ asm-1.5.3.jar:/Users/huntc/.m2/repository/org/apache/maven/maven- plugin-registry/2.0.6/maven-plugin-registry-2.0.6.jar:/Users/huntc/.m2/ repository/org/apache/maven/maven-project/2.0.6/maven- project-2.0.6.jar:/Users/huntc/.m2/repository/org/apache/maven/maven- settings/2.0.6/maven-settings-2.0.6.jar:/Users/huntc/.m2/repository/ net/sf/saxon/saxon-dom/83.161.120.155/saxon-dom-83.161.120.155.jar:/Users/huntc/.m2/ repository/net/sf/saxon/saxon/83.161.120.155/saxon-83.161.120.155.jar:/Users/ huntc/.m2/repository/xml-resolver/xml-resolver/1.2/xml- resolver-1.2.jar:/Users/huntc/.m2/repository/org/hibernate/ejb3- persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/huntc/.m2/ repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar:/Users/ huntc/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.6/ maven-artifact-manager-2.0.6.jar:/Users/huntc/.m2/repository/org/ apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.jar:/Users/ huntc/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/ Users/huntc/.m2/repository/org/hibernate/hibernate-annotations/ 3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/huntc/.m2/ repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon- provider-api-1.0-beta-2.jar:/Users/huntc/.m2/repository/commons-lang/ commons-lang/2.4/commons-lang-2.4.jar:/Users/huntc/.m2/repository/ classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/Users/ huntc/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/ huntc/.m2/repository/org/apache/maven/maven-repository-metadata/2.0.6/ maven-repository-metadata-2.0.6.jar:/Users/huntc/.m2/repository/cglib/ cglib/2.1_3/cglib-2.1_3.jar:/Users/huntc/.m2/repository/asm/asm-attrs/ 1.5.3/asm-attrs-1.5.3.jar:/Users/huntc/.m2/repository/org/apache/maven/ maven-artifact/2.0.6/maven-artifact-2.0.6.jar:/Users/huntc/.m2/ repository/commons-collections/commons-collections/3.2/commons- collections-3.2.jar:/Users/huntc/.m2/repository/com/classactionpl/gml/ gml/1.1.0-SNAPSHOT/gml-1.1.0-SNAPSHOT.jar:/Users/huntc/.m2/repository/ log4j/log4j/1.2.14/log4j-1.2.14.jar:/Users/huntc/.m2/repository/org/ codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.jar:/Users/ huntc/.m2/repository/org/apache/maven/maven-model/2.0.6/maven- model-2.0.6.jar:" name="surefire.test.class.path"/> As you can see the Saxon jars are on the classpath. Any guidance? Thanks for any help. Kind regards, Christopher --Apple-Mail-28-293814936 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; ">Hi = there,<div><br></div><div>I'm loving xmlbeans but one weird thing has = held me up for a day or so now and I could do with some = help.</div><div><br></div><div>I'm using xmlbeans 2.4.0 combined with = Saxon 9 to perform Xpath lookups on my document. All works well when = running in the context of Eclipse and = JUnit.</div><div><br></div><div>However when I run via maven (mvn test) = I get the message:</div><div><br></div><div><div style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: = normal normal normal 11px/normal Monaco; ">java.<span = style=3D"text-decoration: underline">lang</span>.RuntimeException:&nbsp; = Trying XBeans path engine... Trying XQRL... Trying <span = style=3D"text-decoration: underline">Saxon</span>... FAILED on declare = <span style=3D"text-decoration: underline">namespace</span> <span = style=3D"text-decoration: underline">gml</span>=3D'<a = href=3D"http://www.opengis.net/gml/3.2';declare">http://www.opengis.net/gm= l/3.2';declare</a> <span style=3D"text-decoration: = underline">namespace</span> <span style=3D"text-decoration: = underline">wp</span>=3D'<a = href=3D"http://www.classactionpl.com/gml/worldPolitical';$this/wp:World/gm= l:name">http://www.classactionpl.com/gml/worldPolitical';$this/wp:World/gm= l:name</a>[lower-case(text())=3D'earth = political']/../*/gml:name[lower-case(text())=3D'<span = style=3D"text-decoration: = underline">australia</span>']/../*/gml:name[lower-case(text())=3D'new = south <span style=3D"text-decoration: = underline">wales</span>']/..</div><div><font class=3D"Apple-style-span" = face=3D"Monaco" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 11px;"><br></span></font></div></div><div>...which = implies that it can't find Saxon on the classpath right? (any further = elaboration on what causes this message would be = appreciated).</div><div><br></div><div>If I look at the Surefire report = then here's the classpath for the test:</div><div><br></div><div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: = rgb(42, 0, 255); "><span style=3D"color: #000000">&nbsp;&nbsp; = &nbsp;</span><span style=3D"color: #008080">&lt;</span><span = style=3D"color: #3f7f7f">property</span><span style=3D"color: #000000"> = </span><span style=3D"color: #7f007f">value</span><span style=3D"color: = #000000">=3D</span>"/Users/huntc/Development/Eclipse/workspace/World = Political GML = Model/target/classes:/Users/huntc/Development/Eclipse/workspace/World = Political GML = Model/target/test-classes:/Users/huntc/.m2/repository/javax/transaction/jt= a/1.0.1B/jta-1.0.1B.jar:/Users/huntc/.m2/repository/org/apache/xmlbeans/xm= lbeans-xpath/2.4.0/xmlbeans-xpath-2.4.0.jar:/Users/huntc/.m2/repository/or= g/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar:/Users/huntc/.m2/repos= itory/junit/junit/3.8.1/junit-3.8.1.jar:/Users/huntc/.m2/repository/net/sf= /json-lib/json-lib/2.2.3/json-lib-2.2.3-jdk15.jar:/Users/huntc/.m2/reposit= ory/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/huntc/.= m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hiberna= te-commons-annotations-3.0.0.ga.jar:/Users/huntc/.m2/repository/commons-lo= gging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/huntc/.m2/rep= ository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/huntc/.m2/repository= /antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/huntc/.m2/repository/commons-bea= nutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/huntc/.m= 2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stab= le-1/plexus-container-default-1.0-alpha-9-stable-1.jar:/Users/huntc/.m2/re= pository/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.jar:/Use= rs/huntc/.m2/repository/com/vividsolutions/jts/1.8/jts-1.8.jar:/Users/hunt= c/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/huntc/.m2/repository/o= rg/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.ja= r:/Users/huntc/.m2/repository/org/apache/maven/maven-project/2.0.6/maven-p= roject-2.0.6.jar:/Users/huntc/.m2/repository/org/apache/maven/maven-settin= gs/2.0.6/maven-settings-2.0.6.jar:/Users/huntc/.m2/repository/net/sf/saxon= /saxon-dom/83.161.120.155/saxon-dom-83.161.120.155.jar:/Users/huntc/.m2/repository/net/s= f/saxon/saxon/83.161.120.155/saxon-83.161.120.155.jar:/Users/huntc/.m2/repository/xml-re= solver/xml-resolver/1.2/xml-resolver-1.2.jar:/Users/huntc/.m2/repository/o= rg/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/User= s/huntc/.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar:/Use= rs/huntc/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.6/mave= n-artifact-manager-2.0.6.jar:/Users/huntc/.m2/repository/org/apache/maven/= maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.jar:/Users/huntc/.m2/reposit= ory/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/huntc/.m2/reposi= tory/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.= 3.1.GA.jar:/Users/huntc/.m2/repository/org/apache/maven/wagon/wagon-provid= er-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar:/Users/huntc/.m2/repos= itory/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/huntc/.m2/= repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar= :/Users/huntc/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/hunt= c/.m2/repository/org/apache/maven/maven-repository-metadata/2.0.6/maven-re= pository-metadata-2.0.6.jar:/Users/huntc/.m2/repository/cglib/cglib/2.1_3/= cglib-2.1_3.jar:/Users/huntc/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-= 1.5.3.jar:/Users/huntc/.m2/repository/org/apache/maven/maven-artifact/2.0.= 6/maven-artifact-2.0.6.jar:/Users/huntc/.m2/repository/commons-collections= /commons-collections/3.2/commons-collections-3.2.jar:/Users/huntc/.m2/repo= sitory/com/classactionpl/gml/gml/1.1.0-SNAPSHOT/gml-1.1.0-SNAPSHOT.jar:/Us= ers/huntc/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/Users/huntc/= .m2/repository/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.j= ar:/Users/huntc/.m2/repository/org/apache/maven/maven-model/2.0.6/maven-mo= del-2.0.6.jar:"<span style=3D"color: #000000"> </span><span = style=3D"color: #7f007f">name</span><span style=3D"color: = #000000">=3D</span>"surefire.test.class.path"<span style=3D"color: = #008080">/&gt;</span></div><div><font class=3D"Apple-style-span" = color=3D"#008080" face=3D"Monaco" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 11px;"><br></span></font></div></div><div>As you can see the Saxon jars = are on the classpath.</div><div><br></div><div>Any guidance? Thanks for = any help.</div><div><br></div><div>Kind = regards,</div><div>Christopher</div><div><br></div></body></html>= --Apple-Mail-28-293814936-- From userchristophersmith@example.com Mon Jun 15 17:42:19 2009 Return-Path: <userchristophersmith@example.com> Delivered-To: christophersmith@example.com Received: (qmail 61697 invoked from network); 15 Jun 2009 17:42:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Jun 2009 17:42:19 -0000 Received: (qmail 27308 invoked by uid 500); 15 Jun 2009 17:42:30 -0000 Delivered-To: christophersmith@example.com Received: (qmail 27252 invoked by uid 500); 15 Jun 2009 17:42:30 -0000 Mailing-List: contact christophersmith@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:christophersmith@example.com> List-Help: <mailto:christophersmith@example.com> List-Unsubscribe: <mailto:christophersmith@example.com> Reply-To: christophersmith@example.com List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list christophersmith@example.com Received: (qmail 27244 invoked by uid 99); 15 Jun 2009 17:42:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 17:42:29 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO rgminet11.oracle.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 17:42:17 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [83.161.120.155]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5FHgtpa030636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <christophersmith@example.com>; Mon, 15 Jun 2009 17:42:56 GMT Received: from abhmt008.oracle.com (abhmt008.oracle.com [83.161.120.155]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5FHh8Tk026209 for <christophersmith@example.com>; Mon, 15 Jun 2009 17:43:08 GMT MIME-Version: 1.0 Message-ID: <96995f7a-4e8d-4f1c-bf48-755274b88c16@default> Date: Mon, 15 Jun 2009 10:41:51 -0700 (PDT) From: Wing Yew Poon <christophersmith@example.com> To: christophersmith@example.com Subject: RE: Xpath/Saxon classpath issue? References: <christophersmith@example.com christophersmith@example.com> In-Reply-To: <christophersmith@example.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 1.5.1 (304090) [OL 11.8217.8221] Content-Type: multipart/alternative; boundary="__12450877115212529abhmt008.oracle.com" X-Source-IP: abhmt008.oracle.com [83.161.120.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010209.4A3687E0.01C7:SCFSTAT5015188,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org --__12450877115212529abhmt008.oracle.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I don't use maven and it's too hard for me to read the classpath you includ= e, but you not only need saxon9.jar and saxon9-dom.jar, you need xbean_xpat= h.jar. The xbean_xpath.jar comes with the XMLBeans 2.4.0 binary distributio= n. And yes, it is a classpath issue. - Wing Yew =20 _____ =20 From: Christopher Hunt [mailto:christophersmith@example.com]=20 Sent: Saturday, June 13, 2009 3:30 AM To: christophersmith@example.com Subject: Xpath/Saxon classpath issue? Hi there,=20 I'm loving xmlbeans but one weird thing has held me up for a day or so now = and I could do with some help. I'm using xmlbeans 2.4.0 combined with Saxon 9 to perform Xpath lookups on = my document. All works well when running in the context of Eclipse and JUni= t. However when I run via maven (mvn test) I get the message: java.lang.RuntimeException: Trying XBeans path engine... Trying XQRL... Tr= ying Saxon... FAILED on declare namespace gml=3D'http://www.opengis.net/gml= /3.2';declare namespace wp=3D'http://www.classactionpl.com/gml/worldPolitic= al';$this/wp:World/gml:name[lower-case(text())=3D'earth political']/../*/gm= l:name[lower-case(text())=3D'australia']/../*/gml:name[lower-case(text())= =3D'new south wales']/.. ...which implies that it can't find Saxon on the classpath right? (any furt= her elaboration on what causes this message would be appreciated). If I look at the Surefire report then here's the classpath for the test: <property value=3D"/Users/huntc/Development/Eclipse/workspace/World Pol= itical GML Model/target/classes:/Users/huntc/Development/Eclipse/workspace/= World Political GML Model/target/test-classes:/Users/huntc/.m2/repository/j= avax/transaction/jta/1.0.1B/jta-1.0.1B.jar:/Users/huntc/.m2/repository/org/= apache/xmlbeans/xmlbeans-xpath/2.4.0/xmlbeans-xpath-2.4.0.jar:/Users/huntc/= .m2/repository/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar:/Users= /huntc/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar:/Users/huntc/.m2/re= pository/net/sf/json-lib/json-lib/2.2.3/json-lib-2.2.3-jdk15.jar:/Users/hun= tc/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/= Users/huntc/.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.= 0.ga/hibernate-commons-annotations-3.0.0.ga.jar:/Users/huntc/.m2/repository= /commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/hun= tc/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/huntc/.m2/r= epository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/huntc/.m2/repository/com= mons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/h= untc/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-= 9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar:/Users/huntc/.= m2/repository/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.jar:= /Users/huntc/.m2/repository/com/vividsolutions/jts/1.8/jts-1.8.jar:/Users/h= untc/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/huntc/.m2/repository= /org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.j= ar:/Users/huntc/.m2/repository/org/apache/maven/maven-project/2.0.6/maven-p= roject-2.0.6.jar:/Users/huntc/.m2/repository/org/apache/maven/maven-setting= s/2.0.6/maven-settings-2.0.6.jar:/Users/huntc/.m2/repository/net/sf/saxon/s= axon-dom/83.161.120.155/saxon-dom-83.161.120.155.jar:/Users/huntc/.m2/repository/net/sf/s= axon/saxon/83.161.120.155/saxon-83.161.120.155.jar:/Users/huntc/.m2/repository/xml-resolv= er/xml-resolver/1.2/xml-resolver-1.2.jar:/Users/huntc/.m2/repository/org/hi= bernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/hunt= c/.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar:/Users/hunt= c/.m2/repository/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifa= ct-manager-2.0.6.jar:/Users/huntc/.m2/repository/org/apache/maven/maven-plu= gin-api/2.0.6/maven-plugin-api-2.0.6.jar:/Users/huntc/.m2/repository/net/sf= /ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/huntc/.m2/repository/org/hi= bernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/= Users/huntc/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-be= ta-2/wagon-provider-api-1.0-beta-2.jar:/Users/huntc/.m2/repository/commons-= lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/huntc/.m2/repository/clas= sworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/Users/huntc/.m= 2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/huntc/.m2/repository/= org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-= 2.0.6.jar:/Users/huntc/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Us= ers/huntc/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/hun= tc/.m2/repository/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.= 6.jar:/Users/huntc/.m2/repository/commons-collections/commons-collections/3= .2/commons-collections-3.2.jar:/Users/huntc/.m2/repository/com/classactionp= l/gml/gml/1.1.0-SNAPSHOT/gml-1.1.0-SNAPSHOT.jar:/Users/huntc/.m2/repository= /log4j/log4j/1.2.14/log4j-1.2.14.jar:/Users/huntc/.m2/repository/org/codeha= us/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.jar:/Users/huntc/.m2/reposi= tory/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.jar:" name=3D"sur= efire.test.class.path"/> As you can see the Saxon jars are on the classpath. Any guidance? Thanks for any help. Kind regards, Christopher --__12450877115212529abhmt008.oracle.com Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.5764" name=3DGENERATOR></HEAD> <BODY=20 style=3D"WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break:= after-white-space"> <DIV dir=3Dltr align=3Dleft><SPAN class=3D510343817-15062009><FONT face=3DA= rial=20 color=3D#0000ff size=3D2>I don't use maven and it's too hard for me to read= the=20 classpath you include, but you not only need saxon9.jar and saxon9-dom.jar,= you=20 need xbean_xpath.jar. The xbean_xpath.jar comes with the XMLBeans 2.4.0 bin= ary=20 distribution.</FONT></SPAN></DIV> <DIV><SPAN class=3D510343817-15062009></SPAN><FONT face=3DArial><FONT=20 color=3D#0000ff><FONT=20 size=3D2>And&nbsp;yes,&nbsp;it&nbsp;is&nbsp;a&nbsp;classpath&nbsp;issue.</F= ONT></FONT></FONT><BR><SPAN=20 class=3D510343817-15062009><FONT face=3DArial color=3D#0000ff size=3D2>- Wi= ng=20 Yew</FONT></SPAN></DIV> <DIV><SPAN class=3D510343817-15062009><FONT face=3DArial color=3D#0000ff=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> Christopher Hunt=20 [mailto:christophersmith@example.com] <BR><B>Sent:</B> Saturday, June 13, 2009 3:= 30=20 AM<BR><B>To:</B> christophersmith@example.com<BR><B>Subject:</B> Xpath/Saxon=20 classpath issue?<BR></FONT><BR></DIV> <DIV></DIV>Hi there, <DIV><BR></DIV> <DIV>I'm loving xmlbeans but one weird thing has held me up for a day or so= now=20 and I could do with some help.</DIV> <DIV><BR></DIV> <DIV>I'm using xmlbeans 2.4.0 combined with Saxon 9 to perform Xpath lookup= s on=20 my document. All works well when running in the context of Eclipse and=20 JUnit.</DIV> <DIV><BR></DIV> <DIV>However when I run via maven (mvn test) I get the message:</DIV> <DIV><BR></DIV> <DIV> <DIV style=3D"MARGIN: 0px; FONT: 11px Monaco">java.<SPAN=20 style=3D"TEXT-DECORATION: underline">lang</SPAN>.RuntimeException:&nbsp; Tr= ying=20 XBeans path engine... Trying XQRL... Trying <SPAN=20 style=3D"TEXT-DECORATION: underline">Saxon</SPAN>... FAILED on declare <SPA= N=20 style=3D"TEXT-DECORATION: underline">namespace</SPAN> <SPAN=20 style=3D"TEXT-DECORATION: underline">gml</SPAN>=3D'<A=20 href=3D"http://www.opengis.net/gml/3.2';declare">http://www.opengis.net/gml= /3.2';declare</A>=20 <SPAN style=3D"TEXT-DECORATION: underline">namespace</SPAN> <SPAN=20 style=3D"TEXT-DECORATION: underline">wp</SPAN>=3D'<A=20 href=3D"http://www.classactionpl.com/gml/worldPolitical';$this/wp:World/gml= :name">http://www.classactionpl.com/gml/worldPolitical';$this/wp:World/gml:= name</A>[lower-case(text())=3D'earth=20 political']/../*/gml:name[lower-case(text())=3D'<SPAN=20 style=3D"TEXT-DECORATION: underline">australia</SPAN>']/../*/gml:name[lower= -case(text())=3D'new=20 south <SPAN style=3D"TEXT-DECORATION: underline">wales</SPAN>']/..</DIV> <DIV><FONT class=3DApple-style-span face=3DMonaco size=3D3><SPAN=20 class=3DApple-style-span style=3D"FONT-SIZE: 11px"><BR></SPAN></FONT></DIV>= </DIV> <DIV>...which implies that it can't find Saxon on the classpath right? (any= =20 further elaboration on what causes this message would be appreciated).</DIV= > <DIV><BR></DIV> <DIV>If I look at the Surefire report then here's the classpath for the=20 test:</DIV> <DIV><BR></DIV> <DIV> <DIV style=3D"MARGIN: 0px; FONT: 11px Monaco; COLOR: rgb(42,0,255)"><SPAN= =20 style=3D"COLOR: #000000">&nbsp;&nbsp; &nbsp;</SPAN><SPAN=20 style=3D"COLOR: #008080">&lt;</SPAN><SPAN=20 style=3D"COLOR: #3f7f7f">property</SPAN><SPAN style=3D"COLOR: #000000"> </S= PAN><SPAN=20 style=3D"COLOR: #7f007f">value</SPAN><SPAN=20 style=3D"COLOR: #000000">=3D</SPAN>"/Users/huntc/Development/Eclipse/worksp= ace/World=20 Political GML=20 Model/target/classes:/Users/huntc/Development/Eclipse/workspace/World Polit= ical=20 GML=20 Model/target/test-classes:/Users/huntc/.m2/repository/javax/transaction/jta= /1.0.1B/jta-1.0.1B.jar:/Users/huntc/.m2/repository/org/apache/xmlbeans/xmlb= eans-xpath/2.4.0/xmlbeans-xpath-2.4.0.jar:/Users/huntc/.m2/repository/org/a= pache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar:/Users/huntc/.m2/repositor= y/junit/junit/3.8.1/junit-3.8.1.jar:/Users/huntc/.m2/repository/net/sf/json= -lib/json-lib/2.2.3/json-lib-2.2.3-jdk15.jar:/Users/huntc/.m2/repository/or= g/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/huntc/.m2/repo= sitory/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commo= ns-annotations-3.0.0.ga.jar:/Users/huntc/.m2/repository/commons-logging/com= mons-logging/1.0.4/commons-logging-1.0.4.jar:/Users/huntc/.m2/repository/st= ax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/huntc/.m2/repository/antlr/antl= r/2.7.6/antlr-2.7.6.jar:/Users/huntc/.m2/repository/commons-beanutils/commo= ns-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/huntc/.m2/repository/= org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-co= ntainer-default-1.0-alpha-9-stable-1.jar:/Users/huntc/.m2/repository/org/ap= ache/maven/maven-profile/2.0.6/maven-profile-2.0.6.jar:/Users/huntc/.m2/rep= ository/com/vividsolutions/jts/1.8/jts-1.8.jar:/Users/huntc/.m2/repository/= asm/asm/1.5.3/asm-1.5.3.jar:/Users/huntc/.m2/repository/org/apache/maven/ma= ven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.jar:/Users/huntc/.m2/= repository/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.jar:/Us= ers/huntc/.m2/repository/org/apache/maven/maven-settings/2.0.6/maven-settin= gs-2.0.6.jar:/Users/huntc/.m2/repository/net/sf/saxon/saxon-dom/83.161.120.155/sax= on-dom-83.161.120.155.jar:/Users/huntc/.m2/repository/net/sf/saxon/saxon/83.161.120.155/s= axon-83.161.120.155.jar:/Users/huntc/.m2/repository/xml-resolver/xml-resolver/1.2/= xml-resolver-1.2.jar:/Users/huntc/.m2/repository/org/hibernate/ejb3-persist= ence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/huntc/.m2/repository/net= /sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar:/Users/huntc/.m2/repository/org= /apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.jar= :/Users/huntc/.m2/repository/org/apache/maven/maven-plugin-api/2.0.6/maven-= plugin-api-2.0.6.jar:/Users/huntc/.m2/repository/net/sf/ehcache/ehcache/1.2= .3/ehcache-1.2.3.jar:/Users/huntc/.m2/repository/org/hibernate/hibernate-an= notations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/huntc/.m2/repo= sitory/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-= api-1.0-beta-2.jar:/Users/huntc/.m2/repository/commons-lang/commons-lang/2.= 4/commons-lang-2.4.jar:/Users/huntc/.m2/repository/classworlds/classworlds/= 1.1-alpha-2/classworlds-1.1-alpha-2.jar:/Users/huntc/.m2/repository/dom4j/d= om4j/1.6.1/dom4j-1.6.1.jar:/Users/huntc/.m2/repository/org/apache/maven/mav= en-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.jar:/Users/hun= tc/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/huntc/.m2/reposi= tory/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/huntc/.m2/repository/or= g/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.jar:/Users/huntc/.= m2/repository/commons-collections/commons-collections/3.2/commons-collectio= ns-3.2.jar:/Users/huntc/.m2/repository/com/classactionpl/gml/gml/1.1.0-SNAP= SHOT/gml-1.1.0-SNAPSHOT.jar:/Users/huntc/.m2/repository/log4j/log4j/1.2.14/=
{'source': 'Apache Software Foundation Public Mail Archives'}