RE: XMLBean Document Objects

2010-05-27 Thread Duane Zamrok
r the helpful suggestion -Duane [1]http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/#conformance -Original Message- From: Peter Keller [mailto:pkel...@globalphasing.com] Sent: Thursday, May 27, 2010 2:53 PM To: user@xmlbeans.apache.org Subject: Re: XMLBean Document Objects Hi Duane

Re: XMLBean Document Objects

2010-05-27 Thread Peter Keller
Hi Duane, In order to have non-empty documents that are valid with respect to an XML schema, a root element must be defined in the schema. This is not a limitation of XMLBeans, but an aspect of the way that XML schema works. If you cannot modify the schema by adding a root element definition,

XMLBean Document Objects

2010-05-27 Thread Duane Zamrok
Hello, I'm working with an XML schema that defines a complex type but not an element of that type. This means that when I compile the schema with XMLBeans I get FooType.java but not a FooDocument.java. However, I'd like to be able to parse documents whose root element has been defined to be of t