Project

Profile

Help

Revision bcfd5313

Added by Michael Kay about 11 years ago

Fix bug 3122822 NPE when xsl:stylesheet is not outermost element

View differences:

latest9.3/hej/net/sf/saxon/style/XSLStylesheet.java
282 282
    }
283 283

  
284 284

  
285

  
285
    @Override
286
    protected void index(Declaration decl, PrincipalStylesheetModule top) throws XPathException {
287
        compileError("xsl:stylesheet can appear only as the outermost element", "XTSE0010");
288
    }
286 289

  
287 290
    /**
288 291
     * Dummy compile() method to satisfy the interface

Also available in: Unified diff