users@jaxb.java.net

The prefix "xml"

From: lissette <glorianchu18_at_hotmail.com>
Date: Mon, 11 Jun 2007 06:44:57 -0700 (PDT)

Hello!
When I try create a jaxb class I obtainthis error:

[ERROR] The prefix "xml" cannot be bound to any namespace other than its
usual namespace; neither can the namespace for "xml" be bound to any prefix
other than "xml".
  line 3 of xml_lang.xsd
the xml_lang.xsd is:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
        xmlns="http://www.w3.org/XML/1998/namespace"
        targetNamespace="http://www.w3.org/XML/1998/namespace"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        elementFormDefault="qualified"
        attributeFormDefault="qualified"
        version="1.0">
        <xsd:element name="ENTER_NAME_OF_ROOT_ELEMENT_HERE">
                <xsd:annotation>
                        <xsd:documentation>Comment describing your root
element</xsd:documentation>
                </xsd:annotation>
        </xsd:element>
        <xsd:attribute name="lang" form="qualified" type="xsd:language"
use="default" value="en-us"/>
</xsd:schema>

Could someone help me?thanks very much
-- 
View this message in context: http://www.nabble.com/The-prefix-%22xml%22-tf3901679.html#a11060898
Sent from the java.net - jaxb users mailing list archive at Nabble.com.