No, "M:\software_development\xml\xsd\custom.xsd" is not a URI. "file:///M:/software_development/xml/xsd/custom.xsd" is.
Sandy Gao Software Developer, IBM Canada (1-905) 413-3255 [EMAIL PROTECTED] "Thropp, Shawn" <[EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> g> cc: Subject: Invalid anyURI type 03/28/2003 01:08 PM Please respond to xerces-j-user In the past I have been trying to set the external-schemaLocation Property and I understand there have been several bugs reported. I am not sure if the particular problem that I am having is a bug in Xerces-J or the way I am trying to create and use a DOM Parser and external-scheamLocation property. In our implementation I set the external-schemaLocation property to a string that contains the all of the namespaces and XSDs to use (in the proper format). For a sanity check, I get the extenal-schemaLocation property after I set to verify it got set correctly. It seems to be setting it correctly. When that actual parser begins doing its job, I receive the following error: FAILED: cvc-datatype-valid.1.2.1: 'M:\software_development\xml\xsd\custom.xsd' is not a valid 'anyURI' value. line: -1, col: -1 The XSDs all exist locally on my system. Is the string, in the error message, a valid URI? Or is there a bug with the handling of the external-schemaLocation property? Thanks for the help Schawn --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]