Project

Profile

Help

Revision 01217719

Added by Michael Kay 5 months ago

  • ID 01217719eb64e34c620a95d369965f78ac747ff5
  • Parent fc6b1e65

Fix bug 4846

View differences:

latest10/hej/net/sf/saxon/style/StyleNodeFactory.java
150 150
//                );
151 151
//            }
152 152

  
153
            if (toplevel && !e.isDeclaration() && e.forwardsCompatibleModeIsEnabled()) {
153
            if (toplevel && !e.isDeclaration() && !(e instanceof XSLExpose) && e.forwardsCompatibleModeIsEnabled()) {
154 154
                DataElement d = new DataElement();
155 155
                d.setNamespaceMap(namespaces);
156 156
                d.initialise(elemName, elemType, attlist, parent, sequence);

Also available in: Unified diff