Annotation of parser3/tests/results/362.processed, revision 1.1

1.1     ! moko        1: Content-Type: text/html
        !             2: Content-Length: 1080
        !             3: 
        !             4: 1. original template: <?xml version="1.0" encoding="UTF-8"?>
        !             5: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        !             6:     <xsl:template match="*">
        !             7:        <xsl:value-of select="."/>
        !             8:     </xsl:template>
        !             9: </xsl:stylesheet>
        !            10: 
        !            11: transform OK: 1
        !            12: 
        !            13: 2. libxml modifies template: <?xml version="1.0" encoding="UTF-8"?>
        !            14: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:template match="*"><xsl:value-of select="."/></xsl:template></xsl:stylesheet>
        !            15: 
        !            16: but transform OK as we cache compiled one: 2
        !            17: 
        !            18: 3. after manual template modification: <?xml version="1.0" encoding="UTF-8"?>
        !            19: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:template match="*">test</xsl:template></xsl:stylesheet>
        !            20: 
        !            21: transform still OK: test
        !            22: 
        !            23: 4. new templates are ignored: <?xml version="1.0" encoding="UTF-8"?>
        !            24: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:template match="*">test</xsl:template><xsl:template match="root">works if used before first transform</xsl:template></xsl:stylesheet>
        !            25: 
        !            26: transform: test

E-mail: