On Wed, 2012-07-18 at 15:07 -0700, Cezar Andrei wrote:

> 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?

The contents of org.apache.xmlbeans.xml.stream are the only missing ones
that my own code needs, and I have not attempted to find any others.
Perhaps the best thing to do (so as not to hold up the release of 2.6.0
too much) would be to add org.apache.xmlbeans.xml.stream into
xmlpublic.jar for the 2.6.0 release, now that we know it should be
there. A more comprehensive review of the contents of xmlpublic.jar
could be done for a future (2.6.1?) release.

On a related note, if we are targetting jdk6, maybe we don't need
jsr173_1.0_api any longer?

Regards,
Peter.

> 
> 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

Reply via email to