We are aware of the following limitations and problems in this alpha release:
- When format-number() should format NaN or infinity, it generates the wrong string if default strings are used. Workaround: declare the strings in an xsl:decimal-format instruction at the top of the stylesheet.
- Text nodes containing entity references are split into multiple nodes.
- The contains() function does not always recognize a character entity.
- There are differences in the way 1.x and 2.0. handle space and linefeed characters.
- In some cases, a named character (" etc.) will be output when the literal character would have worked.
- In some cases, a named character (© etc.) will be output where 1.x would put out &#ddd; or %hh encoding.
- In some cases, a linefeed will be output where 1.x put out .
- In some cases, %hh encoding will be used in HTML attributes instead of a named character (e.g., ä).
- In some cases, &#ddd; encoding will be used in HTML attributes instead of %hh encoding.
- Sometimes an <?xml...?> header is not being output when it should be.
- Sometimes a META tag is output as it should be, but sometimes it's still missing or in the wrong place.
- Sometimes a namespace declaration is missing or placed differently than before.
- Sometimes a declaration for the default or XSLT namespace is added when not needed.
- Some torturous axis paths came back with too many nodes.
- The function-available and element-available tests don't report true for XSLT elements.
- The namespace-alias capability is putting out the wrong prefix (needs research).
- The name() function is not returning the null string for text and comments, as it should.
- Some required CDATA markers are not being put out.
- The special technique for generating boolean attributes in HTML doesn't work.
- The xsl:version put out by system-property is not the spec version, as it should be.
- A top-level variable/parameter declaration in an imported/included stylesheet is not global, as it should be.
- Path steps beyond a union causes an invalid axis error.
- Unable to select a variable with a QName.
- Use of key() in match pattern has problems with descendants.
- The unparsed-entity-uri() function fails.
- The @namespace:* pattern is not assigned the appropriate priority for conflict resolution.
The Apache XML Bug Tracking System is currently not working. If you find a bug, please report it (with "Xalan-J 2 bug" in the subject line) to the .