users@jaxb.java.net

RE: Re: The prefix "xml"

From: Don Walling <dwalling_at_adobe.com>
Date: Mon, 11 Jun 2007 10:37:30 -0700

Try removing the xmlns:xml attribute from the schema element and add it
as an import, such as:
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.ebxml.org/namespaces/tradePartner"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.ebxml.org/namespaces/tradePartner"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
elementFormDefault="qualified" attributeFormDefault="unqualified"
version="1.0">

        <import namespace="http://www.w3.org/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
        <import namespace="http://www.w3.org/1999/xlink"
schemaLocation="xlink.xsd"/>
        <import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="xmldsig-core-schema.xsd"/>
        <import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml_lang.xsd"/>
</schema>

-----Original Message-----
From: lissette [mailto:glorianchu18_at_hotmail.com]
Sent: Monday, June 11, 2007 10:23 AM
To: users_at_jaxb.dev.java.net
Subject: Re: The prefix "xml"


I think that I need use JAXB : I have this xsd: cpa-cpp.xsd <?xml
version="1.0" encoding="UTF-8"?> <schema
targetNamespace="http://www.ebxml.org/namespaces/tradePartner"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.ebxml.org/namespaces/tradePartner"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.0">

        <import namespace="http://www.w3.org/1999/xlink"
schemaLocation="xlink.xsd"/>
        <import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="xmldsig-core-schema.xsd"/>
        <import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml_lang.xsd"/>
        
        <attributeGroup name="pkg.grp">
                <attribute ref="tns:id"/>
                <attribute name="mimetype" type="tns:non-empty-string"
use="required"/>
                <attribute name="mimeparameters"
type="tns:non-empty-string"/>
        </attributeGroup>

        <attributeGroup name="xlink.grp">
                <attribute ref="xlink:type"/>
                <attribute ref="xlink:href"/>
        </attributeGroup>

        <element name="CollaborationProtocolAgreement">
                <complexType>
                        <sequence>
                                <element ref="tns:Status"/>
                                <element ref="tns:Start"/>
                                <element ref="tns:End"/>
                                <element
ref="tns:ConversationConstraints" minOccurs="0"/>
                                <element ref="tns:PartyInfo"
maxOccurs="unbounded"/>
                                <element ref="tns:Packaging"/>
                                <element ref="ds:Signature"
minOccurs="0" maxOccurs="unbounded"/>
                                <element ref="tns:Comment" minOccurs="0"
maxOccurs="unbounded"/>
                        </sequence>
                        <attribute name="cpaid"
type="tns:non-empty-string"/>
                        <attribute ref="tns:version"/>
                        <anyAttribute namespace="##targetNamespace
http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
                </complexType>
        </element>

        <element name="CollaborationProtocolProfile">
                <complexType>
                        <sequence>
                                <element ref="tns:PartyInfo"
maxOccurs="unbounded"/>
                                <element ref="tns:Packaging"/>
                                <element ref="ds:Signature"
minOccurs="0"/>
                                <element ref="tns:Comment" minOccurs="0"
maxOccurs="unbounded"/>
                        </sequence>
                        <attribute ref="tns:version"/>
                        <anyAttribute namespace="##targetNamespace
http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
                </complexType>
        </element>

        <element name="ProcessSpecification">
                <complexType>
                        <sequence>
                                <element ref="ds:Reference"
minOccurs="0"/>
                        </sequence>
                        <attribute ref="tns:version"/>
                        <attribute name="name"
type="tns:non-empty-string" use="required"/>
                        <attributeGroup ref="tns:xlink.grp"/>
                </complexType>
        </element>

        <element name="Service" type="tns:service.type"/>
        <element name="Protocol" type="tns:protocol.type"/>
        <element name="SendingProtocol" type="tns:protocol.type"/>
        <element name="ReceivingProtocol" type="tns:protocol.type"/>

        <element name="CollaborationRole">
                <complexType>
                        <sequence>
                                <element
ref="tns:ProcessSpecification"/>
                                <element ref="tns:Role"/>
                                <element ref="tns:CertificateRef"
minOccurs="0"/>
                                <element ref="tns:ServiceBinding"
maxOccurs="unbounded"/>
                        </sequence>
                        <attribute ref="tns:id"/>
                </complexType>
        </element>

        <element name="PartyInfo">
                <complexType>
                        <sequence>
                                <element ref="tns:PartyId"
maxOccurs="unbounded"/>
                                <element ref="tns:PartyRef"/>
                                <element ref="tns:CollaborationRole"
maxOccurs="unbounded"/>
                                <element ref="tns:Certificate"
maxOccurs="unbounded"/>
                                <element ref="tns:DeliveryChannel"
maxOccurs="unbounded"/>
                                <element ref="tns:Transport"
maxOccurs="unbounded"/>
                                <element ref="tns:DocExchange"
maxOccurs="unbounded"/>
                        </sequence>
                </complexType>
        </element>
        
        <element name="PartyId">
                <complexType>
                        <simpleContent>
                                <extension base="tns:non-empty-string">
                                        <attribute name="type"
type="tns:non-empty-string"/>
                                </extension>
                        </simpleContent>
                </complexType>
        </element>

        <element name="PartyRef">
                <complexType>
                        <attributeGroup ref="tns:xlink.grp"/>
                        <attribute name="type"
type="tns:non-empty-string"/>
                </complexType>
        </element>

        <element name="DeliveryChannel">
                <complexType>
                        <sequence>
                                <element ref="tns:Characteristics"/>
                        </sequence>
                        <attribute name="channelId" type="ID"
use="required"/>
                        <attribute name="transportId" type="IDREF"
use="required"/>
                        <attribute name="docExchangeId" type="IDREF"
use="required"/>
                </complexType>
        </element>

        <element name="Transport">
                <complexType>
                        <sequence>
                                <element ref="tns:SendingProtocol"
maxOccurs="unbounded"/>
                                <element ref="tns:ReceivingProtocol"/>
                                <element ref="tns:Endpoint"
maxOccurs="unbounded"/>
                                <element ref="tns:TransportSecurity"
minOccurs="0"/>
                        </sequence>
                        <attribute name="transportId" type="ID"
use="required"/>
                </complexType>
        </element>

        <element name="Endpoint">
                <complexType>
                        <attribute name="uri" type="uriReference"
use="required"/>
                        <attribute name="type"
type="tns:endpointType.type" use="default"
value="allPurpose"/>
                </complexType>
        </element>

        <element name="Retries" type="string"/>
        <element name="RetryInterval" type="string"/>

        <element name="TransportSecurity">
                <complexType>
                        <sequence>
                                <element ref="tns:Protocol"/>
                                <element ref="tns:CertificateRef"
minOccurs="0"/>
                        </sequence>
                </complexType>
        </element>

        <element name="Certificate">
                <complexType>
                        <sequence>
                                <element ref="ds:KeyInfo"/>
                        </sequence>
                        <attribute name="certId" type="ID"
use="required"/>
                </complexType>
        </element>

        <element name="DocExchange">
                <complexType>
                        <sequence>
                                <element ref="tns:ebXMLBinding"/>
                        </sequence>
                        <attribute name="docExchangeId" type="ID"
use="required"/>
                </complexType>
        </element>

        <element name="ReliableMessaging">
                <complexType>
                        <sequence minOccurs="0">
                                <element ref="tns:Retries"/>
                                <element ref="tns:RetryInterval"/>
                                <element name="PersistDuration"
type="timeDuration"/>
                        </sequence>
                        <attribute name="deliverySemantics"
type="tns:ds.type" use="required"/>
                        <attribute name="idempotency" type="boolean"
use="required"/>
                        <attribute name="messageOrderSemantics"
type="tns:mos.type"
use="optional" value="NotGuaranteed"/>
                </complexType>
                <!-- <element name="PersistDuration" type="duration"/>
-->
        </element>

        <element name="NonRepudiation">
                <complexType>
                        <sequence>
                                <element ref="tns:Protocol"/>
                                <element ref="tns:HashFunction"/>
                                <element ref="tns:SignatureAlgorithm"/>
                                <element ref="tns:CertificateRef"/>
                        </sequence>
                </complexType>
        </element>
        
        <element name="HashFunction" type="string"/>
        <element name="EncryptionAlgorithm" type="string"/>
        <element name="SignatureAlgorithm" type="string"/>

        <element name="DigitalEnvelope">
                <complexType>
                        <sequence>
                                <element ref="tns:Protocol"/>
                                <element ref="tns:EncryptionAlgorithm"/>
                                <element ref="tns:CertificateRef"/>
                        </sequence>
                </complexType>
        </element>

        <element name="CertificateRef">
                <complexType>
                        <attribute name="certId" type="IDREF"
use="required"/>
                </complexType>
        </element>

        <element name="ebXMLBinding">
                <complexType>
                        <sequence>
                                <element ref="tns:ReliableMessaging"
minOccurs="0"/>
                                <element ref="tns:NonRepudiation"
minOccurs="0"/>
                                <element ref="tns:DigitalEnvelope"
minOccurs="0"/>
                                <element ref="tns:NamespaceSupported"
minOccurs="0"
maxOccurs="unbounded"/>
                        </sequence>
                        <attribute ref="tns:version"/>
                </complexType>
        </element>

        <element name="NamespaceSupported">
                <complexType>
                        <simpleContent>
                                <extension base="uriReference">
                                        <attribute name="location"
type="uriReference" use="required"/>
                                        <attribute ref="tns:version"/>
                                </extension>
                        </simpleContent>
                </complexType>
        </element>

        <element name="Characteristics">
                <complexType>
                        <attribute ref="tns:syncReplyMode"/>
                        <attribute name="nonrepudiationOfOrigin"
type="boolean"/>
                        <attribute name="nonrepudiationOfReceipt"
type="boolean"/>
                        <attribute name="secureTransport"
type="boolean"/>
                        <attribute name="confidentiality"
type="boolean"/>
                        <attribute name="authenticated" type="boolean"/>
                        <attribute name="authorized" type="boolean"/>
                </complexType>
        </element>

        <element name="ServiceBinding">
                <complexType>
                        <sequence>
                                <element ref="tns:Service"/>
                                <element ref="tns:Override"
minOccurs="0" maxOccurs="unbounded"/>
                        </sequence>
                        <attribute name="channelId" type="IDREF"
use="required"/>
                        <attribute name="packageId" type="IDREF"
use="required"/>
                </complexType>
                <unique name="action.const">
                        <selector xpath=".//Override"/>
                        <field xpath="@action"/>
                </unique>
        </element>

        <element name="Status">
                <complexType>
                        <attribute name="value"
type="tns:statusValue.type" use="required"/>
                </complexType>
        </element>

        <element name="Start" type="timeInstant"/>
        <element name="End" type="timeInstant"/>
        <!--
        <element name="Start" type="dateTime"/>
        <element name="End" type="dateTime"/>
        -->
        <element name="Type" type="string"/>
        <element name="ConversationConstraints">
                <complexType>
                        <attribute name="invocationLimit" type="int"/>
                        <attribute name="concurrentConversations"
type="int"/>
                </complexType>
        </element>

        <element name="Override">
                <complexType>
                        <attribute name="action"
type="tns:non-empty-string" use="required"/>
                        <attribute name="channelId" type="ID"
use="required"/>
                        <attribute name="packageId" type="IDREF"
use="required"/>
                        <attributeGroup ref="tns:xlink.grp"/>
                </complexType>
        </element>

        <element name="Role">
                <complexType>
                        <attribute name="name"
type="tns:non-empty-string" use="required"/>
                        <attributeGroup ref="tns:xlink.grp"/>
                </complexType>
        </element>

        <element name="Constituent">
                <complexType>
                        <attribute ref="tns:idref"/>
                </complexType>
        </element>

        <element name="Packaging">
                <complexType>
                        <sequence>
                                <element name="ProcessingCapabilities">
                                        <complexType>
                                                <attribute name="parse"
type="boolean" use="required"/>
                                                <attribute
name="generate" type="boolean" use="required"/>
                                        </complexType>
                                </element>

                                <element name="SimplePart"
maxOccurs="unbounded">
                                        <complexType>
                                                <sequence>
                                                        <element
ref="tns:NamespaceSupported" minOccurs="0"
maxOccurs="unbounded"/>
                                                </sequence>
                                                <attributeGroup
ref="tns:pkg.grp"/>
                                        </complexType>
                                </element>

                                <element name="CompositeList"
minOccurs="0">
                                        <complexType>
                                                <choice
maxOccurs="unbounded">
                                                        <element
name="Encapsulation">
        
<complexType>
        
<sequence>
        
<element ref="tns:Constituent"/>
        
</sequence>
        
<attributeGroup ref="tns:pkg.grp"/>
        
</complexType>
                                                        </element>

                                                        <element
name="Composite">
        
<complexType>
        
<sequence>
        
<element ref="tns:Constituent" maxOccurs="unbounded"/>
        
</sequence>
        
<attributeGroup ref="tns:pkg.grp"/>
        
</complexType>
                                                        </element>
                                                </choice>
                                        </complexType>
                                </element>
                        </sequence>
                        <attribute ref="tns:id"/>
                </complexType>
        </element>

        <element name="Comment">
                <complexType>
                        <simpleContent>
                                <extension base="tns:non-empty-string">
                                        <attribute ref="xml:lang"/>
                                </extension>
                        </simpleContent>
                </complexType>
        </element>

        <!-- COMMON -->
        <simpleType name="ds.type">
                <restriction base="NMTOKEN">
                        <enumeration value="OnceAndOnlyOnce"/>
                        <enumeration value="BestEffort"/>
                </restriction>
        </simpleType>
        <simpleType name="mos.type">
                <restriction base="NMTOKEN">
                        <enumeration value="Guaranteed"/>
                        <enumeration value="NotGuaranteed"/>
                </restriction>
        </simpleType>
        <simpleType name="statusValue.type">
                <restriction base="NMTOKEN">
                        <enumeration value="agreed"/>
                        <enumeration value="signed"/>
                        <enumeration value="proposed"/>
                </restriction>
        </simpleType>
        <simpleType name="endpointType.type">
                <restriction base="NMTOKEN">
                        <enumeration value="login"/>
                        <enumeration value="request"/>
                        <enumeration value="response"/>
                        <enumeration value="error"/>
                        <enumeration value="allPurpose"/>
                </restriction>
        </simpleType>
        <simpleType name="non-empty-string">
                <restriction base="string">
                        <minLength value="1"/>
                </restriction>
        </simpleType>
        <simpleType name="syncReplyMode.type">
                <restriction base="NMTOKEN">
                        <enumeration value="responseOnly"/>
                        <enumeration value="signalsAndResponse"/>
                        <enumeration value="signalsOnly"/>
                        <enumeration value="none"/>
                </restriction>
        </simpleType>
        <complexType name="service.type">
                <simpleContent>
                        <extension base="tns:non-empty-string">
                                <attribute name="type"
type="tns:non-empty-string"/>
                        </extension>
                </simpleContent>
        </complexType>
        <complexType name="protocol.type">
                <simpleContent>
                        <extension base="tns:non-empty-string">
                                <attribute ref="tns:version"/>
                        </extension>
                </simpleContent>
        </complexType>
        <attribute name="idref" type="IDREF" form="unqualified"/>
        <attribute name="id" type="ID" form="unqualified"/>
        <attribute name="version" type="tns:non-empty-string"/>
        <attribute name="syncReplyMode" type="tns:syncReplyMode.type"/>
</schema>

xmldsing-core-schema:
<?xml version="1.0" encoding="UTF-8" ?> <schema
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1"
elementFormDefault="qualified">
        <!-- Basic Types Defined for Signatures -->
        <simpleType name="CryptoBinary">
                <restriction base="binary">
                        <encoding value="base64" />
                </restriction>
        </simpleType>
        <!-- Start Signature -->
        <element name="Signature">
                <complexType>
                        <sequence>
                                <element ref="ds:SignedInfo" />
                                <element ref="ds:SignatureValue" />
                                <element ref="ds:KeyInfo" minOccurs="0"
/>
                                <element ref="ds:Object" minOccurs="0"
maxOccurs="unbounded" />
                        </sequence>
                        <attribute name="Id" type="ID" use="optional" />

                </complexType>
        </element>
        <!-- Start SignedInfo -->
        <element name="SignedInfo">
                <complexType>
                        <sequence>
                                <element ref="ds:CanonicalizationMethod"
/>
                                <element ref="ds:SignatureMethod" />
                                <element ref="ds:Reference"
maxOccurs="unbounded" />
                        </sequence>
                        <attribute name="Id" type="ID" use="optional" />

                </complexType>
        </element>
        <element name="CanonicalizationMethod">
                <complexType>
                        <sequence>
                                <any namespace="##any" minOccurs="0"
maxOccurs="unbounded" />
                        </sequence>
                        <attribute name="Algorithm" type="uriReference"
use="required" />
                </complexType>
        </element>
        <element name="SignatureMethod">
                <complexType>
                        <sequence>
                                <any namespace="##any" minOccurs="0"
maxOccurs="unbounded" />
                        </sequence>
                        <attribute name="Algorithm" type="uriReference"
use="required" />
                </complexType>
        </element>
        <element name="SignatureValue" type="ds:CryptoBinary" />
        <!-- Start Reference -->
        <element name="Reference">
                <complexType>
                        <sequence>
                                <element ref="ds:Transforms"
minOccurs="0" />
                                <element ref="ds:DigestMethod" />
                                <element ref="ds:DigestValue" />
                        </sequence>
                        <attribute name="Id" type="ID" use="optional" />

                        <attribute name="URI" type="uriReference"
use="optional" />
                        <attribute name="Type" type="uriReference"
use="optional" />
                </complexType>
        </element>
        <element name="Transforms">
                <complexType>
                        <sequence>
                                <element ref="ds:Transform"
maxOccurs="unbounded" />
                        </sequence>
                </complexType>
        </element>
        <element name="Transform">
                <complexType>
                        <choice maxOccurs="unbounded">
                                <any namespace="##other"
processContents="lax" minOccurs="0"
maxOccurs="unbounded" />
                                <element name="XSLT" type="string" />
                                <!--should be an xsl:stylesheet element
-->
                                <element name="XPath" type="string" />
                        </choice>
                        <attribute name="Algorithm" type="uriReference"
use="required" />
                </complexType>
        </element>
        <!-- End Reference -->
        <element name="DigestMethod">
                <complexType>
                        <sequence>
                                <any processContents="lax" minOccurs="0"
maxOccurs="unbounded"
namespace="##any" />
                        </sequence>
                        <attribute name="Algorithm" type="uriReference"
use="required" />
                </complexType>
        </element>
        <element name="DigestValue" type="ds:CryptoBinary" />
        <!-- End SignedInfo -->
        <!-- Start KeyInfo -->
        <element name="KeyInfo">
                <complexType>
                        <choice maxOccurs="unbounded">
                                <any processContents="lax"
namespace="##other" minOccurs="0"
maxOccurs="unbounded" />
                                <element name="KeyName" type="string" />

                                <element ref="ds:KeyValue" />
                                <element ref="ds:RetrievalMethod" />
                                <element ref="ds:X509Data" />
                                <element ref="ds:PGPData" />
                                <element ref="ds:SPKIData" />
                                <element name="MgmtData" type="string"
/>
                        </choice>
                        <attribute name="Id" type="ID" use="optional" />

                </complexType>
        </element>
        <element name="KeyValue">
                <complexType mixed="true">
                        <choice>
                                <any namespace="##other"
processContents="lax" minOccurs="0"
maxOccurs="unbounded" />
                                <element ref="ds:DSAKeyValue" />
                                <element ref="ds:RSAKeyValue" />
                        </choice>
                </complexType>
        </element>
        <element name="RetrievalMethod">
                <complexType>
                        <sequence>
                                <element ref="ds:Transforms"
minOccurs="0" />
                        </sequence>
                        <attribute name="URI" type="uriReference" />
                        <attribute name="Type" type="uriReference"
use="optional" />
                </complexType>
        </element>
        <!-- Start X509Data -->
        <element name="X509Data">
                <complexType>
                        <choice>
                                <sequence maxOccurs="unbounded">
                                        <choice>
                                                <element
ref="ds:X509IssuerSerial" />
                                                <element name="X509SKI"
type="ds:CryptoBinary" />
                                                <element
name="X509SubjectName" type="string" />
                                                <element
name="X509Certificate" type="ds:CryptoBinary" />
                                        </choice>
                                </sequence>
                                <element name="X509CRL"
type="ds:CryptoBinary" />
                        </choice>
                </complexType>
        </element>
        <element name="X509IssuerSerial">
                <complexType>
                        <sequence>
                                <element name="X509IssuerName"
type="string" />
                                <element name="X509SerialNumber"
type="integer" />
                        </sequence>
                </complexType>
        </element>
        <!-- End X509Data -->
        <!-- Begin PGPData -->
        <element name="PGPData">
                <complexType>
                        <choice>
                                <any namespace="##other"
processContents="lax" minOccurs="0"
maxOccurs="unbounded" />
                                <sequence>
                                        <element name="PGPKeyID"
type="string" />
                                        <element name="PGPKeyPacket"
type="ds:CryptoBinary" />
                                </sequence>
                        </choice>
                </complexType>
        </element>
        <!-- End PGPData -->
        <!-- Begin SPKIData -->
        <element name="SPKIData" type="string" />
        <!-- End SPKIData -->
        <!-- End KeyInfo -->
        <!-- Start Object (Manifest, SignatureProperty) -->
        <element name="Object">
                <complexType mixed="true">
                        <sequence maxOccurs="unbounded">
                                <any namespace="##any"
processContents="lax" />
                        </sequence>
                        <attribute name="Id" type="ID" use="optional" />

                        <attribute name="MimeType" type="string"
use="optional" />
                        <!-- add a grep facet -->
                        <attribute name="Encoding" type="uriReference"
use="optional" />
                </complexType>
        </element>
        <element name="Manifest">
                <complexType>
                        <sequence>
                                <element ref="ds:Reference"
maxOccurs="unbounded" />
                        </sequence>
                        <attribute name="Id" type="ID" use="optional" />

                </complexType>
        </element>
        <element name="SignatureProperties">
                <complexType>
                        <sequence>
                                <element ref="ds:SignatureProperty"
maxOccurs="unbounded" />
                        </sequence>
                        <attribute name="Id" type="ID" use="optional" />

                </complexType>
        </element>
        <element name="SignatureProperty">
                <complexType mixed="true">
                        <choice minOccurs="0" maxOccurs="unbounded">
                                <any namespace="##other"
processContents="lax" minOccurs="0"
maxOccurs="unbounded" />
                        </choice>
                        <attribute name="Target" type="uriReference"
use="required" />
                        <attribute name="Id" type="ID" use="optional" />

                </complexType>
        </element>
        <!-- End Object (Manifest, SignatureProperty) -->
        <!-- Start Algorithm Parameters -->
        <element name="HMACOutputLength" type="integer" />
        <!-- Start KeyValue Element-types -->
        <element name="DSAKeyValue">
                <complexType>
                        <sequence>
                                <sequence>
                                        <element name="P"
type="ds:CryptoBinary" />
                                        <element name="Q"
type="ds:CryptoBinary" />
                                        <element name="G"
type="ds:CryptoBinary" />
                                        <element name="Y"
type="ds:CryptoBinary" />
                                        <element name="J"
type="ds:CryptoBinary" minOccurs="0" />
                                </sequence>
                                <sequence minOccurs="0">
                                        <element name="Seed"
type="ds:CryptoBinary" />
                                        <element name="PgenCounter"
type="ds:CryptoBinary" />
                                </sequence>
                        </sequence>
                </complexType>
        </element>
        <element name="RSAKeyValue">
                <complexType>
                        <sequence>
                                <element name="Modulus"
type="ds:CryptoBinary" />
                                <element name="Exponent"
type="ds:CryptoBinary" />
                        </sequence>
                </complexType>
        </element>
        <!-- End KeyValue Element-types -->
        <!-- End Signature -->
</schema>

xlink.xsd:


<?xml version="1.0" encoding="UTF-8" ?> <xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xlink="http://www.w3.org/1999/xlink"
targetNamespace="http://www.w3.org/1999/xlink"
elementFormDefault="qualified" attributeFormDefault="qualified">
        <xsd:element name="root">
                <xsd:annotation>
                        <xsd:documentation>Comment describing your root
element</xsd:documentation>
                </xsd:annotation>
        </xsd:element>
        <xsd:attribute name="type">
                <xsd:simpleType>
                        <xsd:restriction base="xsd:NMTOKEN">
                                <xsd:enumeration value="simple" />
                                <xsd:enumeration value="extended" />
                                <xsd:enumeration value="locator" />
                                <xsd:enumeration value="arc" />
                                <xsd:enumeration value="resource" />
                                <xsd:enumeration value="title" />
                                <xsd:enumeration value="none" />
                        </xsd:restriction>
                </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="href" type="xsd:uriReference" />
        <xsd:attribute name="role" type="xsd:uriReference" />
        <xsd:attribute name="arcrole" type="xsd:uriReference" />
        <xsd:attribute name="title" type="xsd:string" />
        <xsd:attribute name="label" type="xsd:NMTOKEN" />
        <xsd:attribute name="show">
                <xsd:simpleType>
                        <xsd:restriction base="xsd:NMTOKEN">
                                <xsd:enumeration value="new" />
                                <xsd:enumeration value="replace" />
                                <xsd:enumeration value="embed" />
                                <xsd:enumeration value="other" />
                                <xsd:enumeration value="none" />
                        </xsd:restriction>
                </xsd:simpleType>
        </xsd:attribute>
</xsd:schema>

And xml_lang.xsd:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.w3.org/XML/1998/namespace"
        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>

It is very important for me. Could you help me??

--
View this message in context:
http://www.nabble.com/The-prefix-%22xml%22-tf3901679.html#a11064700
Sent from the java.net - jaxb users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net