I think you're right. Peter, do you know if org.apache.xmlbeans.xml.stream.* 
classes are the only ones required or do you have a list of missing classes?

Cezar

----- Original Message -----
From: pkel...@globalphasing.com
To: dev@xmlbeans.apache.org
Sent: Friday, July 13, 2012 8:49:04 AM GMT -06:00 US/Canada Central
Subject: Which methods are meant to be supported by xmlpublic.jar?

Dear all,

The announcement of 2.6.0-RC1 reminds me that I had meant to ask about 
something that I found in version 2.5.0, but still exists in 2.6.0-RC1, 
namely that xmlpublic.jar does not support at least some of the public 
XmlObject.Factory methods. Is this deliberate? Going by 
<http://wiki.apache.org/xmlbeans/XmlBeansFaq#whatJars> it seems to me that 
compiling code that uses these methods against xmlpublic.jar should succeed.

For example, after building the XMLBeans distribution, the following 
commands:

   cd samples/Validation
   ant build
   javac -cp $XMLBEANS_HOME/build/lib/xmlpublic.jar:build/classes \
      src/org/apache/xmlbeans/samples/validation/Validation.java

output:

src/org/apache/xmlbeans/samples/validation/Validation.java:178: cannot 
access org.apache.xmlbeans.xml.stream.XMLInputStream
class file for org.apache.xmlbeans.xml.stream.XMLInputStream not found
             xml = XmlObject.Factory.parse(xmlFile, validationOptions);
                                    ^
1 error

Thanks for any comments/clarification.

Regards,
Peter.

-- 
Peter Keller                                     Tel.: +44 (0)1223 353033
Global Phasing Ltd.,                             Fax.: +44 (0)1223 366889
Sheraton House,
Castle Park,
Cambridge CB3 0AX
United Kingdom

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: dev-h...@xmlbeans.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: dev-h...@xmlbeans.apache.org

Reply via email to