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
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
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
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
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!
--