[xslt] empty href in stylesheet-pi



Hi,

<?xml-stylesheet href="" type="text/xsl"?>

in a stylesheet fails with "xml-stylesheet : href  is not valid"

Not only href="" is valid [1], but it can be useful in some cases.  I
understand from the mailing list archive that xml-stylesheet is not
supported yet. So xsltproc ignores it, which is fine, except if href="".
Could it be possible to ignore the stylesheet even in that case?

[1] RFC2396 "Uniform Resource Identifiers (URI): Generic Syntax"
4.2. Same-document References

[Using libxml 20419, libxslt 10016 and libexslt 707 xsltproc was
compiled against libxml 20419, libxslt 10016 and libexslt 707 libxslt
10016 was compiled against libxml 20419 libexslt 707 was compiled
against libxml 20419]

Cheers,

Max.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]