Thanks Cezar.
I think this could be perfect for me.
I have a problem, though.
I get a [xmlbean] error: Colliding methods when I try to use this to
accomplish what I want.
I have a heirarchy of XmlObjects A extends B extends C.
I want all three objects to have a method do(), but I want to do it
You should be using the Interface Extension Feature:
http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature
This way the custom code lives in a separate file that will not be lost
when you regenerate the sources when you change the schema.
Cezar
> -Original Message-
> From: Edward Fre
Hi Richard
What you've described, , is not a comment - comments have the
form
Instead it's what's called a processing instruction (or procinst for
short).
Having said that I'm not sure why XmlBeans would be objecting to a
procinst either. Can you attach the stack trace you see and the XML
doc
Hi Ed
Are you saying you tried the approach of using an .xsdconfig file with
elements (as outlined in
http://dev2dev.bea.com/pub/a/2004/11/Configuring_XMLBeans.html, the
section labeled "Interface Extensions") and it didn't work for you?
If so then I'm sorry but unfortunately I don't know of any
Hello,
First, let me say that XMLBeans is pretty fantastic. It just works.
I have a problem, though.
I need to add methods to my objects--and they must be added directly
to the types, as I'm using polymorphism extensively.
However, this is a problem in terms of rapid development. There's no
way
As part of debugging we receive a comment at the bottom of the XML file
if it fails. At the bottom of the file we receive the following:
I want XML Beans to ignore this comment. Right now if the comment is
in, it blows up.
Is this possible?
Richard Butterwood | Senior Analyst/Programmer | In
6 matches
Mail list logo