users@jaxb.java.net

Re: The prefix "xml"

From: lissette <glorianchu18_at_hotmail.com>
Date: Tue, 12 Jun 2007 01:13:11 -0700 (PDT)

Hello!!!
Where is the namespace of xml.xsd? I put in xlink.xsd:

<import namespace="http://www.w3.org/2001/XMLSchema"
schemaLocation="xml.xsd"/>
But I obtain this error:
[ERROR] s4s-elt-schema-ns: The namespace of element 'import' must be from
the schema namespace, 'http://www.w3.org/2001/XMLSchema'.

In xml.xsd :
<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
I obtain this error:
[ERROR] src-import.3.1: The namespace attribute,
'http://www.w3.org/2001/XMLSchema', of an <import> element information item
must be identical to the targetNamespace attribute,
'http://www.w3.org/XML/1998/namespace', of the imported document.

In xml_lang.xsd:
<xsd:schema
        targetNamespace="http://www.w3.org/XML/1998/namespace"
        elementFormDefault="qualified"
        attributeFormDefault="qualified"
        version="1.0">
I obtain this error:
 The prefix "xsd" for element "xsd:schema" is not bound.

Could you help me?I am looking forward you. thanks very much





-- 
View this message in context: http://www.nabble.com/The-prefix-%22xml%22-tf3901679.html#a11074787
Sent from the java.net - jaxb users mailing list archive at Nabble.com.