SchemaProperty.getIntMaxOccurs() which will indeed return
MAX_INT for the unbounded case. Fair enough?
Radu
_
From: Ole Matzura [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2008 2:31 AM
To: user@xmlbeans.apache.org
Subject: SchemaProperty returning null for maxOccurs
Hi,
we had this error under jdk 1.6.0_02 and got around it by putting xerces
2.9.1 in the classpath (instead of using the built-in xerces version)
maybe you have a similar setup!?
/Ole
eviware.com
[EMAIL PROTECTED] wrote:
Hi All,
I get following Exception on parsing my XML file.
Hi!
Is there any way to remove unused namespaces from an XmlObject when it
is being saved? My situation is the following:
1) Parse a document with a large number of namespaces
2) Change the content of the document so that many of the namespaces are
not used anymore
3) Save the document
Now
On 8/20/07, Ole Matzura [EMAIL PROTECTED] wrote:
Hi!
Is there any way to remove unused namespaces from an XmlObject when it
is being saved? My situation is the following:
1) Parse a document with a large number of namespaces
2) Change the content of the document so that many of the namespaces
if you are going to be doing this a lot
-Jacobd
On 8/20/07, Ole Matzura [EMAIL PROTECTED] wrote:
Hi Jacob,
Thanks for answering.. unfortunately this didn't work.. I tried a number
of combinations with different XmlOptions etc without any luck.. Should
I file a bug report somewhere?
anyhow, I
Hi Michael,
XmlBeans usually also generates an unsetXXX method in these situations
which you can use to it to null..
regards,
/Ole
eviware.com
Michael Mattox wrote:
Pim,
I expect Integer because I have specified that the parameter is
optional (0..1). Usually in SOAP when it's optional,
Hi Michael,
you should be able to use the isSetXXX method to do something like
Integer intValue = myXmlBeansObj.isSetXXX() ? myXmlBeansObj.getXXX() : null;
Hope this helps!
regards,
/Ole
eviware.com
Michael Mattox wrote:
XmlBeans usually also generates an unsetXXX method in these
Hi all,
I have a schematype in my schematypesystem and now want to find all
other types (both anonymous and not) that extend that type.. what is the
best way to do this?
thanks for any help!
regards,
/Ole
eviware.com
-
To
----
From: Ole Matzura [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 5:53 PM
To: user@xmlbeans.apache.org
Subject: Feature request: Array Reordering
Hi all!
this may be a little late for the upcoming release, but it would be
great if a future release had support for reordering th
Hi!
a small issue; I need to select text nodes with
xpath, for example //myelement/text(). The XmlObject.selectPath method
unfortunately returns the containing element instead, which gives me problems
when I want to change the selected value since I only want to modify at the
text-node level,
Hi all!
I'm trying to change the order of the items in an array generated for an
unbounded element of a complex type in my schema... ie my schema contains
sequence
element name=Foo type=tns:FooType minOccurs=0 maxOccurs=unbounded/
/sequence
and the XmlBeans object for the containing complex
11 matches
Mail list logo