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:16:53 UTC

[jira] Closed: (JAXME-12) simpleContent extension self reference

Message:

   The following issue has been closed.

   Resolver: Jochen Wiedmann
       Date: Thu, 2 Sep 2004 4:16 AM

Most probably fixed with a recent patch in the SimpleContent handling. Thanks, Nacho!

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-12
    Summary: simpleContent extension self reference
       Type: Bug

     Status: Closed
 Resolution: CANNOT REPRODUCE

    Project: JaxMe
 Components: 
             JaxMe Core
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Henrik Vendelbo

    Created: Fri, 7 Nov 2003 1:53 AM
    Updated: Thu, 2 Sep 2004 4:16 AM
Environment: Operating System: Other
Platform: Other

Description:
Given an XSD with the following element definition :

		<xs:element name="Body">
	        <xs:complexType>
	        <xs:simpleContent><xs:extension base="xs:string">
              <xs:attribute name="html-template"/>
              <xs:attribute name="text-template"/>
            </xs:extension></xs:simpleContent>
          	</xs:complexType>
		</xs:element>


The resulting BodyType definition is

  public interface BodyType {
    public String getHtmlTemplate();
  
    public void setHtmlTemplate(String pHtmlTemplate);
  
    public String getTextTemplate();
  
    public void setTextTemplate(String pTextTemplate);
  
    public TransmissionDataType.BodyType getValue();
  
    public void setValue(TransmissionDataType.BodyType pValue);
  
  }

The getValue/setValue type should be String, rather than it's own type

used jaxme jars compiled from todays CVS snapshot


---------------------------------------------------------------------
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