Re: How to get the enumeration's annotation ?

2007-05-09 Thread Michael Glavassevich
Hi Jing, The annotation is available on the XSMultiValueFacet for the enumeration. This is accessible from the XSSimpleTypeDefinition. See [1] and [2] for more info. Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/XSSimpleTypeDefinition.html#getMultiValueFacets

Re: Validation of DOM nodes

2007-05-09 Thread Michael Glavassevich
Hi Carla, The code you're looking at is Sun's fork of the codebase. Apache Xerces has never called into org.apache.xml.serializer.TreeWalker to do the traversal. The implementation in Xerces (since 2.7.0 when it was introduced) was written so that it is capable of validating Nodes from a DOM L

How to get the enumeration's annotation ?

2007-05-09 Thread Jing Yang
Is it possible to use schema API for retrieving the enumeration's annotation ?(see below) How to do it ? string XXX

Validation of DOM nodes

2007-05-09 Thread Carla Spruit
Hi, We would like to use the Xerces validation implementation to validate a DOM Document. (see http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/Val idator.html) In Xerces 2.6.2 (included with java 1.5.0) the org.apache.xml.serializer.TreeWalker traverse method is used t