W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

[Bug 1521] Support relative system identifiers

From: <bugzilla@wiggum.w3.org>
Date: Mon, 05 Oct 2009 19:44:37 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MutU5-0000jV-BA@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1521





--- Comment #1 from Ville Skyttä <ville.skytta@iki.fi>  2009-10-05 19:44:37 ---
It does not seem that there is a way to pass the original URL as the system
identifier of the doc while passing the document as a string or a local file to
S::P::O at the moment, or I couldn't figure out how to do it.  The URL storage
engine doesn't like /path/to/doc nor file:///path/to/doc, and the OSFILE/OSFD
storage engines don't seem to like HTTP "base"s.  I tried things like

$p->parse("<URL base='http://example.com'>/path/to/file");
$p->parse("<URL base='http://example.com'>file:///path/to/file");
$p->parse("<OSFILE base='http://example.com'>/path/to/file");

...but couldn't get it to work.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 5 October 2009 19:44:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC