Hi all,

I am trying to generate code from the ACORD XSD schemas using xmlbeans v2.1.0.

The generation fails as follows:

xmlbeans error: /home/gatekeeper/minfrin/src/fma/patricia-acord/src/xsd/ACORD_PC_XML_V1-10-0_Draft/Schema_With_Namespace/acord-pcs-v1_10_0-ns-nodoc-nocodes.xsd:14484:7: error: cos-nonambig: Content model violates the unique particle attribution rule.

Google tells me I need to pass the "-noupa" switch to xmlbeans to work around the problem, however I cannot seem to figure out how to do that.

Passing options to xmlbeans via the maven pugin doesn't seem to be documented anywhere. The "xmlconfigs" parameter seems to be a clue, pointing at a config file, but the format and content of this file are another seemingly undocumented mystery.

Has anybody managed to achieve this?

I am using xmlbeans-maven-plugin-2.0-beta1 with maven v1.0.2. (I tried upgrading to v2.0 final, but this causes the plugin to silently do nothing, no error message, no explanation.)

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to