Is it possible to override the w3c XSD at runtime?
For e.g., I would like to make 'processContents' =
Skip or Lax instead of Strict in the following schema
during run time:
xs:complexType name=ExtType
xs:sequence
xs:any namespace=##any processContents=strict
minOccurs=0
XmlBeans creates types from the schemas that are children to the
wsdl:types element. The PortType, client, Stub classes are generated
for JAX-RPC and JAX-WS by other toolkits like apache Axis or XFire
that might/can make use of XMLBeans as a binding system.
HTH,
-jacobd
On Mon, Apr 7, 2008 at
In XMLBeans, when validating, there is an option
XmlOptions.setValidateTreatLaxAsSkip() because this is a common mistake.
Other than that, you need to create a new version for your schema.
XMLBeans will not have a problem with maxOccurs=50 because it uses a
non-deterministic state machine.
Radu
Done: http://issues.apache.org/jira/browse/XMLBEANS-369
To use Saxon, you need saxon8.jar and saxon8-dom.jar from the Saxon 8.8
distribution (make sure you have that version), as well as
xbean_xpath.jar from the XMLBeans distribution.
Radu
On Fri, 2008-04-04 at 00:49 -0700, Paul Hepworth wrote:
now I understand it. thank you jacob
On Mon, Apr 7, 2008 at 1:23 PM, Jacob Danner [EMAIL PROTECTED] wrote:
XmlBeans creates types from the schemas that are children to the
wsdl:types element. The PortType, client, Stub classes are generated
for JAX-RPC and JAX-WS by other toolkits like
5 matches
Mail list logo