users
[Top] [All Lists]

XML Schema validation

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>