I dont' have this problem. but I passed an XmlOptions with
a call to opts.setSaveSuggestedPrefixes(map) to specify my choices of prefix
names.
I wonder if this will give you back the
prefixes.
From: Martin Wegner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 9:25 AM
To: [email protected]
Subject: elementFormDefault='qualified" and xmlText
Greetings.
I have elementFormDefault="qualfied" in my schema. I am using XMLBeans 2.0. When I use the xmlText() method to serialize my XMLBeans object, the elements are not prefixed. XMLBeans correctly spits out the default namespace declaration, so it semanticaly valid XML. But I really need the elements to be prefixed directly (downstream clients are brain dead, what can you do?).
What am I missing? Thanks in advance.
--Marty
I have elementFormDefault="qualfied" in my schema. I am using XMLBeans 2.0. When I use the xmlText() method to serialize my XMLBeans object, the elements are not prefixed. XMLBeans correctly spits out the default namespace declaration, so it semanticaly valid XML. But I really need the elements to be prefixed directly (downstream clients are brain dead, what can you do?).
What am I missing? Thanks in advance.
--Marty

