For local attributes, value constraints are on the attribute uses, not the
declarations. So to get them, you need
attrUse.getConstraintType() and attrUse.getConstraintValue()
Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
Hi there,
I am wondering whether I am doing something wrong in getting attribute
declaration information. I am using Xerces 2.3.0.
If I have a schema like:
http://www.w3.org/2001/XMLSchema";
elementFormDefault="qualified">
and an instance like:
http://www.
if it's available in 2.01, you might want to try and use an
org.xml.sax.EntityResolver
instead of http://apache.org/xml/properties/schema/external-schemaLocation
we have a common xsd that other xsd's ref using the tag
we look for our unique url and the remap it to the internal file all other
we
The external-schemaLocation property must be a string containing
"ns1 xsd1 ns2 xsd2 ... "
that is, pairs of (namespaceURI, XsdURI) with each URI whitespace-delimited.
I think that earlier versions of Xerces were more liberal about what they
accepted for xsdURI.
Jeff
- Original Message -
Fr
Xerces Community/Developers:
I've been successful in integrating the Xerces (2.01) DOMParser with Java
code in order to perform parsing of wellformedness and validation to XSDs.
My code is setup in the following manner:
1. DOMParser object created by passing in the StandardParserConfiguration()