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

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

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

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

Reply to Author | View Threaded | Show Only this Message

addXXX method not generated
---------------------------

         Key: XMLBEANS-229
         URL: http://issues.apache.org/jira/browse/XMLBEANS-229
     Project: XMLBeans
        Type: Bug
    Versions: Version 2.1, Version 2    
 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@...
For additional commands, e-mail: dev-help@...


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

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


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

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-229?page=comments#action_12358382 ]

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

I attached the file... mentioned in the last comment.

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


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

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-229?page=all ]

Michael Hill updated XMLBEANS-229:
----------------------------------

    Attachment: test.xsd

Here is the schema

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


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

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-229?page=all ]

Michael Hill updated XMLBEANS-229:
----------------------------------

    Description:
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?

See below for added comments.


  was:
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?



> 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
>  Attachments: test.xsd
>
> 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?
> See below for added comments.

--
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-229) addXXX method not generated

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-229?page=comments#action_12363102 ]

Paul Harrison commented on XMLBEANS-229:
----------------------------------------

it does not seem to be possible to work round this issue either, as the

XmlType insertNewFoo(int index)

which from the name would appear to *set* (and overwrite) a new value at the index, rather than insert - i.e. move existing elements up one...

> 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
>  Attachments: test.xsd
>
> 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?
> See below for added comments.

--
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] Resolved: (XMLBEANS-229) addXXX method not generated

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-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner resolved XMLBEANS-229.
-----------------------------------

    Resolution: Won't Fix

This seems like a doc issue more than anything. Note that this should be possible when compiling the schema with
-javasource 1.5
then doing something like
getLineItemList().add(...)

> addXXX method not generated
> ---------------------------
>
>                 Key: XMLBEANS-229
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-229
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2, Version 2.1
>         Environment: Windows XP
>            Reporter: Michael Hill
>         Attachments: test.xsd
>
>
> 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?
> See below for added comments.

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