XSInputList and Inputstream

2010-08-27 Thread Jing Yang
! 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

How to configure xerces_2_9_0 with java 6 and multiple error response ?

2008-01-24 Thread Jing Yang
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

How to retrieve regex pattern value in schema ?

2007-10-18 Thread Jing Yang
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));

HTTP OUTGOING CACHING

2007-09-17 Thread Jing Yang
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

How to get the enumeration's annotation ?

2007-05-09 Thread Jing Yang
Is it possible to use schema API for retrieving the enumeration's annotation ?(see below) How to do it ? string XXX

Can't access annotation in this case

2007-03-29 Thread Jing Yang
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