rovf has asked for the wisdom of the Perl Monks concerning the following question:
I have a schema file, which uses
to include common definition. The included file is located in the same directory as my schema file, and XML::LibXML::Schema is used to validate my XML files (running Perl 5.8.8 on Windows). This works well if the xsd file is located on the local drive. However, if the schema file is located on a file share and accessed via UNC path, I get the error message "Element '{http://www.w3.org/2001/XMLSchema}include': Failed to parse the XML resource 'FILENAME.xsd'.". Any idea why this doesn't work?<xs:include schemaLocation="FILENAME.xsd"/>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Lib::XML::Schema validation fails with UNC path
by choroba (Cardinal) on May 05, 2011 at 14:59 UTC | |
by Anonymous Monk on May 06, 2011 at 01:08 UTC | |
by rovf (Priest) on May 06, 2011 at 08:03 UTC | |
|
Re: Lib::XML::Schema validation fails with UNC path
by ikegami (Patriarch) on May 06, 2011 at 04:57 UTC | |
by rovf (Priest) on May 06, 2011 at 08:00 UTC |