[Home] [By Thread] [By Date] [Recent Entries]
On 22.02.2021 20:41, Martin Honnen martin.honnen@xxxxxx wrote:
How exactly do you run Saxon? I think it might depend on the behaviour of the underlying parser and I am not sure Saxon HE, as it itself does not support schema-aware XSLT, uses any xsi:schemaLocation hint or passes it to the XML parser, so basically the schema is ignored, while the default setting for XML based parsing might use a parser reading and taking the DTD into account. I would expect Saxon EE with schema-validation turned on for parsing to give a different output for the second sample. The relevant option from the command line https://www.saxonica.com/html/documentation9.9/using-xsl/commandline/ might be "-strip:(all|none|ignorable)"
|

Cart



