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=8786>. 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=8786 Unable to setProperty (external-schemaLocation) with schemaLocations containing spaces Summary: Unable to setProperty (external-schemaLocation) with schemaLocations containing spaces Product: Xerces2-J Version: 2.0.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When calling DOMParser.setProperty ( "http://apache.org/xml/properties/schema/external-schemaLocation", <string of schemaLocations> ); If any of the schemaLocations contain spaces (even if they're wrapped in quotes) - the namespace/location pairs are incorrectly parsed: the string is tokenized with whitespace delimeters with no regard for the quotes. This makes it impossible to use a schema file who's path contains spaces. For example: a schemaLocation string of: http://www.foobar.com "file:/c:/Program Files/MyCompany/MyApplication/schemas/mySchema.xsd" is tokenized to 3 separate tokens: -- http://www.foobar.com -- -- "file:/c:/Program -- -- Files/MyCompany/MyApplication/schemas/mySchema.xsd" -- Looking at the source, I *think* this parsing code resides in XSDHandler.LocationResolver.reset(). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
