List Info

Thread: Error: uses or overrides deprecated API




Error: uses or overrides deprecated API
user name
2006-05-24 14:59:17
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 xmlnss=&q
uot;http://www.w3.org/20
01/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\TestDocument
Impl.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+depre
cated+API-t1675561.html#a4542846
Sent from the Xml Beans - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: user-unsubscribexmlbeans.apache.org
For additional commands, e-mail: user-helpxmlbeans.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )