Hello,

I just started to use XMLBeans and got my first error when trying to
generate my jar file from a dummy XML schema. The schema is the following:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="test" type="xs:string">
                <xs:annotation>
                        <xs:documentation>this is a test</xs:documentation>
                </xs:annotation>
        </xs:element>
</xs:schema>

So not too complicate ;o)

The compilation command I used:

scomp -d class\ -out lib\test.jar test.xsd -verbose -javasource 1.5

I got those 2 messages:

Note: <TEMP PATH>\xbean60046.d\src\noNamespace\impl\TestDocumentImpl.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

The TEMP PATH has been added by myself to make those message more readable.
When I tried to add the -Xlint:deprecation, I got an unrecognised option
message.

Any idea??




--
View this message in context: 
http://www.nabble.com/-XMLBeans+v2.0-+Error%3A+uses+or+overrides+deprecated+API-t1675561.html#a4542846
Sent from the Xml Beans - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to