Re: Validation issues

2014-07-21 Thread Peter Keller
Dear Joseph, On Wed, 2014-07-16 at 10:15 -0700, jgagnon wrote: I have written an application that generates XML files that represent test cases for a collection of types defined by an XML schema. Some of these types contain elements that are abstract. The logic locates all concrete

Re: Validation issues

2014-07-21 Thread jgagnon
Sorry for the confusion. My application does not deal with the Java implementation of any of the schema types. It uses the information from the schema to determine test cases to generate and then uses the XMLBeans API (mainly XmlCursor) to create an XML instance. Once the instance is complete I

Re: Validation issues

2014-07-21 Thread Peter Keller
On Mon, 2014-07-21 at 05:50 -0700, jgagnon wrote: Sorry for the confusion. My application does not deal with the Java implementation of any of the schema types. It uses the information from the schema to determine test cases to generate and then uses the XMLBeans API (mainly XmlCursor) to

Re: Validation issues

2014-07-20 Thread Michael Pigott
Hi, Perhaps you are using the wrong prefix for the type element? In my (valid) XML Schema, I do not define a prefix for the type attribute, and instead have the default namespace as http://www.w3.org/2001/XMLSchema. Perhaps that's the difference? Eclipse also seems to come bundled with an