> Sounds like maybe it's a parser bug. Perhaps we need to separate out > setting schema processing from validaton, although may become a source for > user errors. > > I'll ask the parser folks if this is the intended behavior.
Any progress on this? I see the same behaviour in testXSLT: [499 ~/pyana/Test]$ testXSLT -VALIDATE -IN testInput2.xml -XSL testInput.xsl ========= Parsing testInput.xsl ========== Parse of testInput.xsl took 10 milliseconds. ========= Parsing testInput2.xml ========== XSLT warning: Warning at (file <unknown>, line 0, column 0): An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id= (, line -1, column -1) Parse of testInput2.xml took 10 milliseconds. ============================= Transforming... Success! transform took 0 milliseconds. Total time took 20 milliseconds. [500 ~/pyana/Test]$ more testInput2.xml <!DOCTYPE message SYSTEM "test.dtd"> <message>Success!</message> [501 ~/pyana/Test]$ more test.dtd <!ELEMENT message (#PCDATA)> [502 ~/pyana/Test]$ more testInput.xsl <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="text"/> <xsl:template match="a"><xsl:value-of select="child::text()"/></xsl:template > </xsl:stylesheet> Cheers, Brian
