| To: | users@xxxxxxxxxx |
|---|---|
| Subject: | XML Schema validation |
| From: | twcrone@xxxxxxxxxxxxx |
| Date: | Thu, 17 Nov 2005 16:53:57 +0000 |
| Delivered-to: | mailing list users@cinjug.org |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
I know that you set the following features to have a Xerces XML parser to
validate a document versus a schema...
parser.setFeature
( "http://xml.org/sax/features/validation", true );
parser.setFeature(
"http://apache.org/xml/features/validation/schema", true );
But that only validates against the schema declared in the actual document.
How do I override the one declared and have it validate against a schema that
I specify?
--
twcrone@xxxxxxxxxxxxx
859-278-9634
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [cinjug-users] File Mocks, James Carman |
|---|---|
| Next by Date: | Re: [cinjug-users] XML Schema validation, John Olmstead |
| Previous by Thread: | RE: [cinjug-users] File Mocks, James Carman |
| Next by Thread: | Re: [cinjug-users] XML Schema validation, John Olmstead |
| Indexes: | [Date] [Thread] [Top] [All Lists] |