Re: how to XSD-validate a single element

2009-01-21 Thread q3s38w002
Hi Michael, On Thu, Jan 22, 2009 at 3:34 PM, Michael Glavassevich mrglavas-at-ca.ibm.com| xerces.apache.org| <...> wrote: > [...] > If you need to force a specific element declaration to be used, for example > a local one defined within a complex type, you're out of luck with Xerces-J > 2.9.1. >

Re: how to XSD-validate a single element

2009-01-21 Thread Michael Glavassevich
Hi Uwe, Have you looked at the JAXP Validation API [1]? You can start validation from any Element node in the DOM with this API. If you need to force a specific element declaration to be used, for example a local one defined within a complex type, you're out of luck with Xerces-J 2.9.1. However,