PI data may not contain ?>, which would terminate the instruction early. The serializer emitted it raw, producing malformed output. Insert a space between an offending ? and > (XSLT 1.0 7.3 recovery: a processor recovers from a generated ?> by inserting a space after the ?), via a shared Escaping helper applied at both XML PI serialization sites. A trailing ? is left alone. Closes Apache Xalan conformance case output72. |
||
|---|---|---|
| .. | ||
| Escaping.swift | ||
| Options.swift | ||
| Serializer.swift | ||
| Writer.swift | ||