!
Jing Yang
Please consider the environment before printing this e-mail
This document may contain technical data which is controlled by the US
Department of State. In accordance with the International Traffic in Arms
Regulations (ITAR) the data herein may not be exported or transferred to a
Two questions:
1) How to use xerces_2_9_0 rather than the default schema parser of
java 6 ?
2) Try to use jaxp 1.3 APIs to perform schema validation, but same
error was reported twice. How to fix it?
The error was
Line:3 Column:77 cvc-datatype-valid.1.2.1: '123a' is not
Use xerces_2_9_0 schema API to load specified schema( see below) and
print out retrieved pattern values.
StringList patterns= simpleType.getLexicalPattern();
Int size=patters.getLength();
for(int i=0; i< size; i++){
System.out.println("index "+index+ " regex : " + patterns.item(i));
www.w3.org block my accessing due to re-questing files too often.
I found one importing schema was http://www.w3.org/XML/1998/namespace";
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
Does XSLoader provide the mechanism to avoid repeated loading schema
during high capacity volume
Is it possible to use schema API for retrieving the enumeration's
annotation ?(see below)
How to do it ?
string
XXX
Use schema API to query annotation. But failed to obtain it in the
case B(see below, search keyword case B):
How to get the annotation in the case B?
Enclosed the test program and testc.xsd.
The working environment is java 6 and xerces-j-9
http://www.w3.org/2001/XMLSchema";
targetNamespace