-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conflicting ID-types for attribute "id" of f:* elements #2
Comments
also cf. TEIC/TEI#1399 |
This seems to prevent me from validating a file after making a change to adjust it to schema, right? |
|
Thanks, done! |
As outlined in this e-mail thread, the obvious solution – explicitely defining the datatype of xml:ID for the any elements also isn’t compatible with the DTD compatibility layer. So effectively, this issue could only be fixed by explicitly forbidding the faust namespace in the xenoData element, which would require modifications in testimony processing, which I won’t implement for 1.0rc. |
In Oxygen using the default validation settings, our schema fails with the message conflicting ID-types for attribute "id" for one of the elements from the Faust namespace. This is relaxng/jing-trang#211.
As a workaround, go to Options → Preferences in Oxygen, and on the XML / XML Parser / RELAX NG page, uncheck Check ID/IDREF.
The root of the trouble is this excerpt in the generated Relax NG:
This allows our f:*-Elements, but it allows for them to have any attribute of any type which effectively allows
xml:id
to be anything, not onlyxs:ID
. Since we need thef:
elements there for the testimony data, I currently don’t see a solution.The text was updated successfully, but these errors were encountered: