You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org> on 2004/12/05 00:29:22 UTC

[jira] Closed: (JAXME-46) NullPointerException Error

     [ http://nagoya.apache.org/jira/browse/JAXME-46?page=history ]
     
Jochen Wiedmann closed JAXME-46:
--------------------------------

    Resolution: Fixed

A referenced attribute wasn't initialized in all cases.


> NullPointerException Error
> --------------------------
>
>          Key: JAXME-46
>          URL: http://nagoya.apache.org/jira/browse/JAXME-46
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: current (nightly)
>  Environment: Windows 2000, java sdk 1.5
>     Reporter: Angelo
>     Assignee: Jochen Wiedmann
>     Priority: Blocker
>  Attachments: jaxme-46.patch
>
> I received this error:
> BUILD FAILED
> build.xml:44: java.lang.NullPointerException
>         at org.apache.ws.jaxme.generator.XJCTask.execute(XJCTask.java:958)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
>         at org.apache.tools.ant.Main.runBuild(Main.java:673)
>         at org.apache.tools.ant.Main.startAnt(Main.java:188)
>         at org.apache.tools.ant.Main.start(Main.java:151)
>         at org.apache.tools.ant.Main.main(Main.java:241)
> Caused by: java.lang.NullPointerException
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBAttributeSG.<init>(JAXBAttributeSG.java:62)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBComplexTypeSG.newAttributeSG(JAXBComplexTypeSG.java:116)
>         at org.apache.ws.jaxme.generator.sg.impl.ComplexTypeSGImpl.newAttributeSG(ComplexTypeSGImpl.java:101)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBComplexTypeSG.initAttributes(JAXBComplexTypeSG.java:130)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBComplexTypeSG.init(JAXBComplexTypeSG.java:163)
>         at org.apache.ws.jaxme.generator.sg.impl.ComplexTypeSGImpl.init(ComplexTypeSGImpl.java:29)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.init(JAXBTypeSG.java:221)
>         at org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl.init(TypeSGImpl.java:119)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getTypeSG(JAXBSGFactory.java:237)
>         at org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl.getTypeSG(SGFactoryImpl.java:53)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBObjectSG.<init>(JAXBObjectSG.java:117)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBObjectSG.<init>(JAXBObjectSG.java:75)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.newObjectSG(JAXBSGFactory.java:123)
>         at org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl.newObjectSG(SGFactoryImpl.java:109)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getObjectSG(JAXBSGFactory.java:129)
>         at org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl.getObjectSG(SGFactoryImpl.java:65)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaSG.getElement(JAXBSchemaSG.java:193)
>         at org.apache.ws.jaxme.generator.sg.impl.SchemaSGImpl.getElement(SchemaSGImpl.java:38)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaSG.init(JAXBSchemaSG.java:128)
>         at org.apache.ws.jaxme.generator.sg.impl.SchemaSGImpl.init(SchemaSGImpl.java:114)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getSchemaSG(JAXBSGFactory.java:170)
>         at org.apache.ws.jaxme.generator.sg.impl.SGFactoryImpl.getSchemaSG(SGFactoryImpl.java:101)
>         at org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader.parse(JAXBSchemaReader.java:117)
>         at org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate(GeneratorImpl.java:125)
>         at org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate(GeneratorImpl.java:154)
>         at org.apache.ws.jaxme.generator.XJCTask.execute(XJCTask.java:942)
>         ... 10 more
> this is the ant debug:
> ...
> ...
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaSG.init]
> Childorg.apache.ws.jaxme.xs.jaxb.impl.JAXBElementImpl@14384c2
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBObjectSG.<init>(XSObject,Context)] ->, {http://www.cnipa.it/schemas/2003/eGovIT/Busta1_0/}Riferimento, null
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.init] ->
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBComplexTypeSG.<init>(XSType)] ->, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@1c0ec97, org.apache.ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@ecb281
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBComplexTypeSG.<init>(XSType)] <-, org.apache.ws.jaxme.generator.sg.impl.GlobalContext@1bb60c3 [{http://www.cnipa.it/schemas/2003/eGovIT/Busta1_0/}Riferimento,org.prova.helper.RiferimentoType,org.prova.helper.impl.RiferimentoTypeImpl]
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getTypeSG(XSType)] ->, {http://www.w3.org/2001/XMLSchema}anyURI
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getTypeSG(XSType,ClassContext)] ->, org.apache.ws.jaxme.xs.types.XSAnySimpleType@5a9de6, null
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.init] ->
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.newSimpleTypeSG] ->
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.newSimpleTypeSG] <-, org.apache.ws.jaxme.generator.types.StringSG@cdb06e
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.init] <-
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getTypeSG(XSType,ClassContext)] <-, org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG@1fa1bb6, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@1315d34
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.init] ->
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.newSimpleTypeSG] ->
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.newSimpleTypeSG] <-, org.apache.ws.jaxme.generator.types.StringSG@1de256f
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG.init] <-
> [xjc.org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory.getTypeSG(XSType)] <-, org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG@16bd8ea, org.apache.ws.jaxme.generator.sg.impl.TypeSGImpl@16e1fb1
> and this the XSD:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsd:schema targetNamespace="http://www.cnipa.it/schemas/2003/eGovIT/Busta1_0/"
> xmlns:eGov_IT="http://www.cnipa.it/schemas/2003/eGovIT/Busta1_0/"
> xmlns="http://www.cnipa.it/schemas/2003/eGovIT/Busta1_0/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
>             <xsd:import
>                 namespace="http://schemas.xmlsoap.org/soap/envelope/"
>                 schemaLocation="soap.xsd"/>
>             
> 		<xsd:element name="Azione" type="xsd:string"/>
>             <xsd:element name="Collaborazione" type="eGov_IT:IdentificatoreType"/>
>             <xsd:element name="ConfermaRicezione">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:OraRegistrazione"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Descrizione">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element maxOccurs="unbounded"
> ref="eGov_IT:DescrizioneMessaggio"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="DescrizioneMessaggio">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:Riferimento"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Destinatario">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element
> ref="eGov_IT:IdentificativoParte"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Destinazione">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element
> ref="eGov_IT:IdentificativoParte"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:simpleType name="codiceEccezioneType">
>                 <xsd:restriction base="xsd:string">
>                     <xsd:enumeration value="EGOV_IT_001">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_002">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_003">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_100">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_101">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_102">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_103">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_104">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_105">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_106">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_107">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_108">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_109">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_110">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_111">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_112">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_113">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_114">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_115">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_116">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_117">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_118">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_119">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_120">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_200">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_201">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_202">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_203">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_300">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_301">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_400">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_401">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                     <xsd:enumeration value="EGOV_IT_402">
>                         <xsd:annotation>
>                             <xsd:appinfo/>
>                         </xsd:annotation>
>                     </xsd:enumeration>
>                 </xsd:restriction>
>             </xsd:simpleType>
>             <xsd:element name="Eccezione">
>                 <xsd:complexType>
>                     <xsd:attribute name="contestoCodifica"
> type="xsd:string" use="required"/>
>                     <xsd:attribute
>                         name="codiceEccezione"
>                         type="eGov_IT:codiceEccezioneType"
>                         use="required"/>
>                     <xsd:attribute name="rilevanza" use="required">
>                         <xsd:simpleType>
>                             <xsd:restriction base="xsd:string">
>                                 <xsd:enumeration value="INFO"/>
>                                 <xsd:enumeration value="LIEVE"/>
>                                 <xsd:enumeration value="GRAVE"/>
>                             </xsd:restriction>
>                         </xsd:simpleType>
>                     </xsd:attribute>
>                     <xsd:attribute name="posizione"
> type="xsd:string" use="required"/>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="IdentificativoParte">
>                 <xsd:complexType>
>                     <xsd:simpleContent>
>                         <xsd:extension base="xsd:string">
>                             <xsd:attribute name="tipo"
> type="xsd:string" use="required"/>
>                             <xsd:attribute name="indirizzoTelematico"
> type="xsd:string"/>
>                         </xsd:extension>
>                     </xsd:simpleContent>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Identificatore"
> type="eGov_IT:IdentificatoreType"/>
>             <xsd:simpleType name="IdentificatoreType">
>                 <xsd:restriction base="xsd:string">
>                     <xsd:pattern 
> value="[\w]+_[\w]+_\d{7}_\d{4}\-\d{2}\-\d{2}_\d{2}:\d{2}"/>
>                 </xsd:restriction>
>             </xsd:simpleType>
>             <xsd:element name="Intestazione">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element 
> ref="eGov_IT:IntestazioneMessaggio"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:ListaRiscontri"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:ListaTrasmissioni"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:ListaEccezioni"/>
>                     </xsd:sequence>
>                     <!-- <xsd:attribute
> fixed="http://www.cnipa.it/eGov_it/portadominio"
>                         ref="SOAP-ENV:actor"
>                         use="required"/> -->
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="IntestazioneMessaggio">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:Mittente"/>
>                         <xsd:element ref="eGov_IT:Destinatario"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:ProfiloCollaborazione"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:Collaborazione"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:Servizio"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:Azione"/>
>                         <xsd:element ref="eGov_IT:Messaggio"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:ProfiloTrasmissione"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:Sequenza"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="ListaEccezioni">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element maxOccurs="unbounded" 
> ref="eGov_IT:Eccezione"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="ListaRiscontri">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element maxOccurs="unbounded" 
> ref="eGov_IT:Riscontro"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="ListaTrasmissioni">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element maxOccurs="unbounded" 
> ref="eGov_IT:Trasmissione"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Messaggio">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:Identificatore"/>
>                         <xsd:element ref="eGov_IT:OraRegistrazione"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:RiferimentoMessaggio"/>
>                         <xsd:element minOccurs="0" 
> ref="eGov_IT:Scadenza"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Mittente">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element maxOccurs="unbounded" 
> ref="eGov_IT:IdentificativoParte"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="OraRegistrazione">
>                 <xsd:complexType>
>                     <xsd:simpleContent>
>                         <xsd:extension base="xsd:dateTime">
>                             <xsd:attribute name="tempo" 
> use="required">
>                                 <xsd:simpleType>
>                                     <xsd:restriction 
> base="xsd:string">
>                                         <xsd:enumeration 
> value="EGOV_IT_Locale"/>
>                                         <xsd:enumeration 
> value="EGOV_IT_SPC"/>
>                                     </xsd:restriction>
>                                 </xsd:simpleType>
>                             </xsd:attribute>
>                         </xsd:extension>
>                     </xsd:simpleContent>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Origine">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element 
> ref="eGov_IT:IdentificativoParte"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:simpleType name="ProfiloCollaborazioneBaseType">
>                 <xsd:restriction base="xsd:string">
>                     <xsd:enumeration 
> value="EGOV_IT_MessaggioSingoloOneWay"/>
>                     <xsd:enumeration 
> value="EGOV_IT_ServizioSincrono"/>
>                     <xsd:enumeration 
> value="EGOV_IT_ServizioAsincronoSimmetrico"/>
>                     <xsd:enumeration 
> value="EGOV_IT_ServizioAsincronoAsimmetrico"/>
>                 </xsd:restriction>
>             </xsd:simpleType>
>             <xsd:element name="ProfiloCollaborazione">
>                 <xsd:complexType>
>                     <xsd:simpleContent>
>                         <xsd:extension 
> base="eGov_IT:ProfiloCollaborazioneBaseType">
>                             <xsd:attribute name="servizioCorrelato" 
> type="xsd:string"/>
>                             <xsd:attribute name="tipo">
>                                 <xsd:simpleType>
>                                     <xsd:restriction 
> base="xsd:string">
>                                         <xsd:enumeration value="URL"/>
>                                         <xsd:enumeration 
> value="WSDL"/>
>                                         <xsd:enumeration 
> value="LDAP"/>
>                                         <xsd:enumeration 
> value="UDDI"/>
>                                         <xsd:enumeration 
> value="ebXMLRegistry"/>
>                                     </xsd:restriction>
>                                 </xsd:simpleType>
>                             </xsd:attribute>
>                         </xsd:extension>
>                     </xsd:simpleContent>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="ProfiloTrasmissione">
>                 <xsd:complexType>
>                     <xsd:attribute default="EGOV_IT_PIUDIUNAVOLTA"
> name="inoltro">
>                         <xsd:simpleType>
>                             <xsd:restriction base="xsd:string">
>                                 <xsd:enumeration 
> value="EGOV_IT_ALPIUUNAVOLTA"/>
>                                 <xsd:enumeration 
> value="EGOV_IT_PIUDIUNAVOLTA"/>
>                             </xsd:restriction>
>                         </xsd:simpleType>
>                     </xsd:attribute>
>                     <xsd:attribute default="false" 
> name="confermaRicezione" type="xsd:boolean"/>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Riferimento">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:Schema"/>
>                         <xsd:element ref="eGov_IT:Titolo"/>
>                     </xsd:sequence>
>                     <xsd:attribute name="href" type="xsd:anyURI" 
> use="required"/>
>                     <xsd:attribute name="role" type="xsd:string" 
> use="required"/>
>                     <xsd:attribute ref="eGov_IT:id" use="required"/>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="RiferimentoMessaggio" 
> type="eGov_IT:IdentificatoreType"/>
>             <xsd:element name="Riscontro">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:Identificatore"/>
>                         <xsd:element ref="eGov_IT:OraRegistrazione"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Scadenza" type="xsd:dateTime"/>
>             <xsd:element name="Schema">
>                 <xsd:complexType>
>                     <xsd:attribute name="posizione" 
> type="xsd:anyURI" use="required"/>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Sequenza">
>                 <xsd:complexType>
>                     <xsd:attribute name="numeroProgressivo" 
> use="required">
>                         <xsd:simpleType>
>                             <xsd:restriction 
> base="xsd:positiveInteger">
>                                 <xsd:pattern value="\d{7}"/>
>                             </xsd:restriction>
>                         </xsd:simpleType>
>                     </xsd:attribute>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Servizio">
>                 <xsd:complexType>
>                     <xsd:simpleContent>
>                         <xsd:extension base="xsd:string">
>                             <xsd:attribute name="tipo" 
> type="xsd:string" use="required"/>
>                         </xsd:extension>
>                     </xsd:simpleContent>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Titolo">
>                 <xsd:complexType>
>                     <xsd:simpleContent>
>                         <xsd:extension base="xsd:string">
>                             <xsd:attribute default="it" 
> name="Lingua" type="xsd:language"/>
>                         </xsd:extension>
>                     </xsd:simpleContent>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="Trasmissione">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:Origine"/>
>                         <xsd:element ref="eGov_IT:Destinazione"/>
>                         <xsd:element ref="eGov_IT:OraRegistrazione"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:attribute name="id" type="xsd:ID"/>
>         </xsd:schema>
> the error seems to be here:
> ...
> ...
> <xsd:element name="Riferimento">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="eGov_IT:Schema"/>
>                         <xsd:element ref="eGov_IT:Titolo"/>
>                     </xsd:sequence>
>                     <xsd:attribute name="href" type="xsd:anyURI" 
> use="required"/>
>                     <xsd:attribute name="role" type="xsd:string" 
> use="required"/>
>                     <xsd:attribute ref="eGov_IT:id" use="required"/>
> ...
> ...
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org