XML Schema and Xerces 2-J

2003-12-12 Thread Huzefa Hakimi
Hi folks, I had couple of doubts regarding XML Schema Processing processing. 1. When validation is turned on, does the SchemaGrammer which is been loaded is the grammer constructed from XML Schema or is it directly constructed from XML Document without parsing XML Schema. 2. Secondly I am assumi

Re: XML Schema and Xerces 2-J

2003-12-12 Thread Huzefa Hakimi
Sorry forgot to attach the xml and schema file for the same. And found the answer for first one. SchemaGrammer as name indicates is constructed from XML Schema.   But second one is still unclear why this strange  behavior!   Thanks   -HuzefaHuzefa Hakimi <[EMAIL PROTECTED]> wrote: Hi folks,I had

error in parsing using xerces2

2003-12-12 Thread Nitin . Gupta
Hi all i have an xml file and a corresponding xsd. Everything works fine with old xerces.jar, but now i have to shift to xerces2 . when i use xerces2, and try to parse as follows XMLReader parser = XMLReaderFactory.createXMLReader(saxDriverClass); DefaultHandler contentHandler = new SAXHandler

Re: XML Schema and Xerces 2-J

2003-12-12 Thread Maksym Kovalenko
To get attributes of the particular element use        private org.apache.xerces.impl.xs.psvi.XSElementDeclaration elementDeclaration; ... public XSObjectList getAttributeUses()     {     XSTypeDefinition td = elementDeclaration.getTypeDefinition();     if (td instanceof XSComp

[Announce] CyberNeko Tools for XNI 2003.12.12 Available

2003-12-12 Thread Andy Clark
Just to let you know that I have just released a new version of the CyberNeko Tools for XNI. This release includes minor bug fixes for problems reported in the HTML parser and the DTD converter. You can get it at the same place as always: http://www.apache.org/~andyc/neko/doc/index.html Enjoy! --