Thanks Kelvin, that example helps us a bunch. I figured there was some concept in there I wasn't grasping before.
Thanks again! -Chris On 5/24/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
Hi Chris I couldn't find an example of this so I had a play and added a new test case at [1]. Regards, Kelvin. [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sdo/tools/src/test/java/org/apache/tuscany/sdo/test/OpenContentTestCase.java On 23/05/07, Chris Mildebrandt <[EMAIL PROTECTED]> wrote: > > Hi, > > We're having problems using statically generated SDOs to set undefined > attributes in our xml. In the schema, we have a line like this: > > <xsd:anyAttribute namespace="##other" processContents="lax"/> > > After getting the DataObject, I make a call to getAnyAttribute(): > > Sequence anyAttribute = person.getAnyAttribute(); > > All of my blind attempts to add values into this Sequence have > resulted in exceptions. I'm sure I'm doing something wrong. Does > anyone have an example of how to insert undefined attributes into this > structure? > > Thanks, > -Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
