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 2006/01/09 12:20:20 UTC

[jira] Erstellt: (JAXME-80) Mixed content with empty elemen tcauses NPE

Mixed content with empty elemen tcauses NPE
-------------------------------------------

         Key: JAXME-80
         URL: http://issues.apache.org/jira/browse/JAXME-80
     Project: JaxMe
        Type: Bug
    Versions: 0.5    
    Reporter: Jochen Wiedmann
    Priority: Minor


The following definition causes an NPE:

    <xs:complexType mixed="true">
      <xs:attribute name="colorRed" type="xs:string"/>
      <xs:attribute name="colorGreen" type="xs:string"/>
      <xs:attribute name="colorBlue" type="xs:string"/>
    </xs:complexType>

Obviously, the element definition is wrong: The type should be either empty or have mixed content. This should be checked.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, 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