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

View: New views
5 Messages — Rating Filter:   Alert me  

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

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


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

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

     [ 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@...
For additional commands, e-mail: dev-help@...


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

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

     [ 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@...
For additional commands, e-mail: dev-help@...


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

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ 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@...
For additional commands, e-mail: dev-help@...


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

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: dev-help@...