You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Michael Hill (JIRA)" <xm...@xml.apache.org> on 2005/11/23 17:36:36 UTC

[jira] Commented: (XMLBEANS-229) addXXX method not generated

    [ http://issues.apache.org/jira/browse/XMLBEANS-229?page=comments#action_12358381 ] 

Michael Hill commented on XMLBEANS-229:
---------------------------------------

Here is the schema I used:

<xs:schema targetNamespace="http://openuri.org/samples/test"
    xmlns:t="http://openuri.org/samples/test"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xs:element name="testA">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="itemA" type="xs:string"/>
                <xs:element name="itemB" type="xs:string"/>
                <xs:element name="line-item" type="t:line-item" minOccurs="0" maxOccurs="unbounded"/>	
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="line-item">
        <xs:sequence>
            <xs:element name="line-itemA" type="xs:string"/>
            <xs:element name="line-itemB" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
</xs:schema>


Ad per the web-sites: http://people.apache.org/~kkrouse/apachecon/ac2004_XmlBeans_v2.ppt
and http://xmlbeans.apache.org/docs/2.0.0/guide/conMethodsForGeneratedJavaTypes.html
which were links I followed from the XMLBeans site I should be getting a method called:

void addLineItem(LineItem valueIn);

which I do not.

> addXXX method not generated
> ---------------------------
>
>          Key: XMLBEANS-229
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-229
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 2, Version 2.1
>  Environment: Windows XP
>     Reporter: Michael Hill

>
> When generating Multiple Occurrence Methods the , void addXXX(XXXType newValue) which is supposed to add the specified XXX to the end of the list of XXX child elements is not being generated.
> Does this require some configuration?

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