DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12831

schema not found doesn't result in exception nor warning





------- Additional Comments From [EMAIL PROTECTED]  2002-09-23 08:47 -------
OK, schema location is just a hint, but shouldn't it be a fatal error when you
specify :

parser->setValidationScheme(XercesDOMParser::Val_Always);
parser->setValidationSchemaFullChecking(true);
parser->setDoNamespaces(true);    
parser->setDoSchema(true);
parser->setValidationConstraintFatal(true);

and no schema file can be found ?

Today, this will eventually result in a NULL root element after the following
instructions :
parser->parse( fileName );
DOMDocument doc = parser->getDocument();
DOMElement root = doc->getDocumentElement();

Is it the right parser behaviour ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to