- From: Steve Sullivan <sullivan@Mathcom.COM>
- Date: Mon, 7 Jan 2002 11:33:38 -0700
- To: www-ql@w3.org
Hi, The doc "XQuery 1.0: An XML Query Language" states ... "A simple value consists of a value contained in the value space of one of the primitive datatypes described in [XML Schema], together with a reference to a schema component that describes its type." (http://www.w3.org/TR/xquery/#id-basics) So what's needed is a way to access schema info from the DOM parse tree (or from SAX events). Yet I find no way of accessing schema-related info from Xerces 1 or 2, or DOM level 1, 2, or 3. Did I overlook something? For example, DOM 2 Node class has a getNodeType() method, but that only returns an indication of text vs element vs comment, etc. Xerces Java 1.4.4 states: "No interface is provided for exposing the post-schema validation infoset , beyond that provided by DOM or SAX" (http://xml.apache.org/xerces-j/schema.html) Xerces 2.0.0.b4 does NOT include the disclaimer of 1.4.4, but still I find no extensions to access schema info. Xerces Java 2.0.0.b4 supports DOM 2.0, but as far as I can tell, DOM 2.0 has no provisions to access schema info. Did I miss something here? How do others deal with this issue? Many thanks, Steve ======================================== Steve Sullivan sullivan@mathcom.com Mathcom Solutions, Inc. * Java, XML, and web oriented development. * Language development and translation. * Optimization, simulation, and mathematical modeling. http://www.mathcom.com 303-494-7115 ========================================
Received on Monday, 7 January 2002 13:32:58 UTC