You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org> on 2005/08/24 00:37:10 UTC

[jira] Created: (XMLBEANS-194) XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"

XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"
---------------------------------------------------------------------------------------------------------

         Key: XMLBEANS-194
         URL: http://issues.apache.org/jira/browse/XMLBEANS-194
     Project: XMLBeans
        Type: Bug
  Components: Binding  
    Reporter: Radu Preotiuc-Pietro
     Fix For: TBD


Errors like the following are output by javac when compiling the generated classes:

src\net\opengis\swe\impl\SoftTypedMeasureInt
ervalTypeImpl.java:14: 
net.opengis.swe.impl.SoftTypedMeasureIntervalTypeImpl is not abstract and does not override abstract method unsetCount() in net.opengis.swe.SoftTypedMeasureOrNullListType
public class SoftTypedMeasureIntervalTypeImpl extends org.apache.xmlbeans.impl.values.XmlListImpl implements net.opengis.swe.SoftTypedMeasureIntervalType


-- 
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Closed: (XMLBEANS-194) XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner closed XMLBEANS-194.
---------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: TBD)
                   Version 2.4.1 

Compilation succeeded for me
scomp -dl basicTypes.xsd gml4swe.xsd

Closing

> XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: XMLBEANS-194
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-194
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: Binding
>            Reporter: Radu Preotiuc-Pietro
>             Fix For: Version 2.4.1 
>
>         Attachments: basicTypes.xsd, gml4swe.xsd
>
>
> Errors like the following are output by javac when compiling the generated classes:
> src\net\opengis\swe\impl\SoftTypedMeasureInt
> ervalTypeImpl.java:14: 
> net.opengis.swe.impl.SoftTypedMeasureIntervalTypeImpl is not abstract and does not override abstract method unsetCount() in net.opengis.swe.SoftTypedMeasureOrNullListType
> public class SoftTypedMeasureIntervalTypeImpl extends org.apache.xmlbeans.impl.values.XmlListImpl implements net.opengis.swe.SoftTypedMeasureIntervalType

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (XMLBEANS-194) XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"

Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-194?page=all ]

Radu Preotiuc-Pietro updated XMLBEANS-194:
------------------------------------------

    Attachment: gml4swe.xsd

> XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"
> ---------------------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-194
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-194
>      Project: XMLBeans
>         Type: Bug
>   Components: Binding
>     Reporter: Radu Preotiuc-Pietro
>      Fix For: TBD
>  Attachments: gml4swe.xsd
>
> Errors like the following are output by javac when compiling the generated classes:
> src\net\opengis\swe\impl\SoftTypedMeasureInt
> ervalTypeImpl.java:14: 
> net.opengis.swe.impl.SoftTypedMeasureIntervalTypeImpl is not abstract and does not override abstract method unsetCount() in net.opengis.swe.SoftTypedMeasureOrNullListType
> public class SoftTypedMeasureIntervalTypeImpl extends org.apache.xmlbeans.impl.values.XmlListImpl implements net.opengis.swe.SoftTypedMeasureIntervalType

-- 
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-194) XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"

Posted by "Frederick G. Burkley (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-194?page=comments#action_12320189 ] 

Frederick G. Burkley commented on XMLBEANS-194:
-----------------------------------------------

What would be an appropriate fix for this?  To generate the code, then throw an exception upon validation (if the user tries to assign a value to the attribute)?



> XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"
> ---------------------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-194
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-194
>      Project: XMLBeans
>         Type: Bug
>   Components: Binding
>     Reporter: Radu Preotiuc-Pietro
>      Fix For: TBD
>  Attachments: basicTypes.xsd, gml4swe.xsd
>
> Errors like the following are output by javac when compiling the generated classes:
> src\net\opengis\swe\impl\SoftTypedMeasureInt
> ervalTypeImpl.java:14: 
> net.opengis.swe.impl.SoftTypedMeasureIntervalTypeImpl is not abstract and does not override abstract method unsetCount() in net.opengis.swe.SoftTypedMeasureOrNullListType
> public class SoftTypedMeasureIntervalTypeImpl extends org.apache.xmlbeans.impl.values.XmlListImpl implements net.opengis.swe.SoftTypedMeasureIntervalType

-- 
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-194) XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"

Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-194?page=all ]

Radu Preotiuc-Pietro updated XMLBEANS-194:
------------------------------------------

    Attachment: basicTypes.xsd

> XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"
> ---------------------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-194
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-194
>      Project: XMLBeans
>         Type: Bug
>   Components: Binding
>     Reporter: Radu Preotiuc-Pietro
>      Fix For: TBD
>  Attachments: basicTypes.xsd, gml4swe.xsd
>
> Errors like the following are output by javac when compiling the generated classes:
> src\net\opengis\swe\impl\SoftTypedMeasureInt
> ervalTypeImpl.java:14: 
> net.opengis.swe.impl.SoftTypedMeasureIntervalTypeImpl is not abstract and does not override abstract method unsetCount() in net.opengis.swe.SoftTypedMeasureOrNullListType
> public class SoftTypedMeasureIntervalTypeImpl extends org.apache.xmlbeans.impl.values.XmlListImpl implements net.opengis.swe.SoftTypedMeasureIntervalType

-- 
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org