Closed arademaker closed 4 years ago
You're correct. The API documentation says it should work, so this is a bug. The DTD requires the <sortinfo>
element to be there to be valid, but the feature attributes are optional, so it could still be DTD compliant by positing an empty <sortinfo />
element instead. Then again, we're already "ahead" of the DTD by using the top
and index
attributes on <dmrs>
, so maybe it's the DTD that needs an update.
Either way the fix is trivial. Care to submit a PR? Look in delphin/codecs/dmrx.py
for the node-encoding function.
Sure, I will make a PR.
The
properties
parameter is being ignored, am I right?