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

1.1       moko        1: Content-Type: text/html
1.2     ! moko        2: Content-Length: 1054
1.1       moko        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: 
1.2     ! moko       23: 4. new templates are not 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</xsl:template></xsl:stylesheet>
1.1       moko       25: 
1.2     ! moko       26: transform: works

E-mail: