JaxMe does not distinguish element1 and element_1
-------------------------------------------------

         Key: JAXME-51
         URL: http://issues.apache.org/jira/browse/JAXME-51
     Project: JaxMe
        Type: Bug
  Components: JaxMe Core  
    Versions: current (nightly)    
    Reporter: Geert Barentsen
    Priority: Minor


Minor bug: an IllegalStateException may occur when a number follows an 
underscore in an element name. The schema below demonstrates the problem: JaxMe 
will generate two fields called "_element1".


<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" xmlns="http://bug"; targetNamespace="http://bug";>

 <xsd:element name="bug">
  <xsd:complexType>
   <xsd:all>
    <xsd:element name="element1" type="xsd:string" />
    <xsd:element name="element_1" type="xsd:string" />
   </xsd:all>
  </xsd:complexType>
 </xsd:element>

</xsd:schema>

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to