Stefan Bodewig wrote:
On Tue, 24 Apr 2007, David Carver <[EMAIL PROTECTED]> wrote:
I mean making sure that the schema compiles in the schema parser
with out error. Making sure that the schema conforms to the rules
specified by XML Schemas 1.0.
I see. How do I do that using the JAXP API?
This article shows how to pre-compile a schema using JAXP 1.3 api:
https://jaxp.dev.java.net/article/jaxp-1_3-article.html#Compile_Schema(s)
If there are no exceptions tossed during the compilation then the Schema
is valid, otherwise it isn't.
Again, it would be nice to be able to specify on a test basis which
Schema Parsers to use for a particular test, and not just instance
availability.
For the instance tests XMLUnit will use the configured SAX parser.
That works.
begin:vcard
fn:David Carver
n:Carver;David
org:STAR Standard
adr;dom:;;4670 Wyandotte Dr;Columbus;OH;43230
email;internet:[EMAIL PROTECTED]
title:XML Data Architect
tel;work:614-397-1313
tel;fax:skype: kingargyle
tel;home:614-475-7753
tel;cell:614-397-1313
x-mozilla-html:FALSE
url:http://www.starstandard.org/
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general