XSLT debugger limitations

 

General

 

Multi-language limitations

The following limitations only apply when you step into a stylesheet from a Java application:

  • Drop to frame and Hot code replace: The drop to frame and hot code replace features should not be used while debugging XSLT called from Java.

  • Incremental feature must be off: The incremental feature must be turned off. When on, this allows the DTM (the internal representation of the input) to be built incrementally instead of waiting for the entire input to be parsed. This feature is off by default. For more information, go to http://xml.apache.org/xalan-j/features.html#incremental.

  • Limited support for user-supplied URIResolvers in generated source: When using a custom URI-resolver to resolve imports, includes, and document calls, the source of the document may not be viewable in the debugger. The transform will, however, continue.

  • External entity references in generated source is not supported: If the source XML document contains an in-line DOCTYPE with an external entity declaration in a generated source (SAX or DOM) scenario, subsequent use of the external entity can cause incorrect results.

  • Debugging transforms that use JAXP with DOMSource source objects: When debugging an XSL transform that uses JAXP with a source object that is a DOMSource, the SystemId must be set on the DOMSource.

  • Java extension elements: Stepping into Java extension elements causes problems when returning to a stylesheet. The transform may hang, or not step to or run to the correct location.

General mixed language debug limitations may also apply when debugging Java that calls a stylesheet or stylesheets that call Java. These limitations can be found in the Java and mixed language debug documentation.