Schema compilation into XMLBeans classes - issue with several xs:anyType children

2008-05-15 Thread Pascal Maugeri
Hi This email is related to the compilation of XMLBeans classes corresponding to the XML schema urn:ietf:params:xml:ns:common-policy as defined in RFC 4745, section 13. I give the reference to this specific schema to illustrate but of course the issue should apply in other situation as well. In

CDATA Example

2008-05-15 Thread Bryce Fosdick
I am needing to create a CDATA element, but I am having no luck and I can't find a good example. The contents will always be 10 characters, padded with right spaces if needed. Here is an example of what needs to be created: Key![CDATA[ABCDE12345]]/Key Here is the path I was heading down:

XMLBeans 1.0.4 Question about XmlDateTime xSet* methods

2008-05-15 Thread Inman, Peter
I have a problem and I'm not sure what's going wrong. I'm using versin 1.0.4 as I have to fit this into a WebLogic 8.1 app server, version 2.* isn't an option (as far as I know as there are conflicts with jar's) Anyway, I have a schema which has been defined using xsd:dateTime formats. XMLB

Re: XMLBeans 1.0.4 Question about XmlDateTime xSet* methods

2008-05-15 Thread Jacob Danner
Interesting issue, I don't have 1.0.4 locally, but maybe you can try something for me. Can you validate your data and see if there are any errors? Thanks, -jacobd On Thu, May 15, 2008 at 3:30 PM, Inman, Peter [EMAIL PROTECTED] wrote: I have a problem and I'm not sure what's going wrong. I'm

RE: Adding a xs:simpleType to the xml document

2008-05-15 Thread Radu Preotiuc-Pietro
The TypeType class has everything you need inside. TypeType type = TypeType.Factory.newValue(TypeType.ARTIFICIAL_PLANTS); xmlObject1.set(type); From looking at your schema I would say that TypeType is supposed to be used for propertyValue and I can't figure out what to use for propertyName. It's