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 ja...@ws.apache.org on 2004/09/02 13:35:49 UTC
[jira] Commented: (JAXME-30) Schema attribute names not checked for Java.lang.Object safety
The following comment has been added to this issue:
Author: Ias
Created: Thu, 2 Sep 2004 4:35 AM
Body:
Thanks for your patch, Nacho!
Ias
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JAXME-30?page=comments#action_38043
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JAXME-30
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JAXME-30
Summary: Schema attribute names not checked for Java.lang.Object safety
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: JaxMe
Components:
JaxMe Core
Versions:
current (nightly)
Assignee:
Reporter: Michael Forrest
Created: Mon, 30 Aug 2004 12:31 AM
Updated: Thu, 2 Sep 2004 4:35 AM
Environment: Java 1.4.2_05, on Linux 2.4.20
Description:
The following element definition in an xsd file:
<xs:element name='mocid'>
<xs:complexType>
<xs:attribute name='tag' type='xs:ID' use='required'/>
<xs:attribute name='class' type='xs:string' use='required'/>
<xs:attribute name='interface' type='xs:string' use='optional'/>
<xs:attribute name='id' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
succesfully generates code which fails to compile. The problem centers
around the second attribute. It causes the generation of a
"getClass()" method in MocidType (as well as the associated MocidTypeImpl and MocidTypeSerializer) that does not compile, owing
to the fact that getClass is final on java.lang.Object).
---------------------------------------------------------------------
JIRA INFORMATION:
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
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