I have just tried the link and I got different results.
If I try to compile all the schemas at once ("scomp
EML-v5-0-schemas-060629\") I get a lot of errors of the form:
Duplicate global element: [EMAIL PROTECTED]:oasis:names:tc:evs:schema:eml
(Original global element found in file: 110-electionevent-v5-0.xsd)
This means that this set of Schemas is not designed to be compiled all
at once, but it has several pieces that need to be compiled separately.
If I ignore the duplicate global element errors (D:\xmlbeans>scomp
-allowmdef "urn:oasis:names:tc:evs:schema:eml"
EML-v5-0-schemas-060629\*.xsd) then I get one more error:
440-460-include-v5-0.xsd:42:15: error: src-element.2.2: Element
reference cannot also specify <complexType>
This is a genuine error: if you look in that file at the line number
indicated and correlate that with src-element.2.2 section in the Schema
spec, you will see that the Schema is incorrect.
On the other hand, if I compile just a subset of the files:
scomp EML-v5-0-schemas-060629\EML*.xsd
then it succeeds and I get a jar of about 2.3M.
So that set of Schemas is a little problematic, but it can be made to
work (with that one exception, which is an error in the Schema file). In
no case do I get "success" reported but an empty jar...
Radu
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 4:45 PM
To: [email protected]
Subject: Can XMLBeans work with OASIS EML xsd ?
I've been trying to use XMLBeans with the schemas here:
http://www.oasis-open.org/committees/download.php/24274/EML-v5-0-schemas
-060629.zip
Specifically the EML410 -> 410-ballots-v5-0.xsd
What happens is the XMLBeans processes it - but when you inspect
the JAR file there is no transform methods in factory-its all just
empty.
I suspect that XMLBeans does not work with xs:include or
xs:import? Or there is an error it is not reporting and its just
creating an empty set.
Can anyone else confirm is they can get XMLBeans to work with
these schemas?
Thanks, DW
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or legally
privileged, and is intended solely for the use of the individual or entity
named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete
it.