lxml is reporting "<string>:0:0:ERROR:XSLT:ERR_OK: unknown error“ when it should not.
Bug #1567633 reported by
Rainer Hörbe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Style sheets generated from schematron do not work until they are reformatted with Oxygen.
Python : sys.version_
lxml.etree : (3, 6, 0, 0)
libxml used : (2, 9, 2)
libxml compiled : (2, 9, 2)
libxslt used : (1, 1, 28)
libxslt compiled : (1, 1, 28)
import lxml.etree as etree
transform = etree.XSLT(
md_dom = etree.parse(
out_dom = transform(md_dom)
print(transform
<string>
workaround:
Details description and test data here:
https:/
To post a comment you must log in.
It's difficult to find the "most appropriate" error in XSLT output, because what libxslt generates is often not very informative.
PR welcome that improves the selectivity specifically for reported XSLT errors.