You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Rudi Vaum <ru...@vaum.net> on 2004/10/09 11:04:34 UTC

how to change class AND INNER CLASS names in .xsdconfig?

Hi,

I would like to control both the name of the class generated, as well as the
inner interface name via .xsdconfig

Right now I get something like:
 Request
  \Factory
  \Request2

but this looks highly unprofesional :) in my code.

The file names I get generated without .xsdconfig show better the
meaning/usage of them (with their suffix), but they are strictly linked to
the xml element name (which I cannot change):
 RqTxDocument
  \Factory
  \RqTx

So I would like to have it like this:
 RequestDocument
  \Factory
  \Request

How do I get there with the .xsdconfig

Thanks a lot
Rudi


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Constraints

Posted by Rudi Vaum <ru...@vaum.net>.
Hi,

how do I enforce a constraint like "4 digit int" with XmlBeans?
I put that constraint in the xsd schema, but xmlbeans still allowed me
to set any value I wanted to that field. It also validated the xmlobject
without error. is this the expected behaviour?

thanks
Rudi

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org