solving conflicting ID-types in RNG without disabling content-completeion?
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 20
- Joined: Thu Oct 18, 2018 11:45 am
solving conflicting ID-types in RNG without disabling content-completeion?
Post by bernardusgui »
In Oxygen 23 I am editing TEI documents. I'm introducing a new elements in a new namespace via a customization of the TEI schema. While trying to use this new schema (RNG XML format), I've stumbled upon the problem well-described by Syd Bauman at https://journals.openedition.org/jtei/2573#annexe regarding the error
Are there other solutions, hacks, or work-arounds to solve this? The attribute content suggestion functionality Oxygen provides is crucial to our workflow...
Thanks in advance for any advice.
Following Bauman's suggestion, I un-checked the “Check ID/IDREF” box in Oxygen > Preferences> > > RELAX NG. While this solves the immediate problem of the RNG schema being valid, it has the consequence of disabling the content completion/lists of values for attributes while editing the dependant TEI documents in Oxygen.conflicting ID-types for attribute "id" from namespace "http://www.w3.org/XML/1998/namespace" of element...
Are there other solutions, hacks, or work-arounds to solve this? The attribute content suggestion functionality Oxygen provides is crucial to our workflow...
Thanks in advance for any advice.
Re: solving conflicting ID-types in RNG without disabling content-completeion?
Hi,
Maybe you can make changes to the custom RNG file to avoid that validation error, like my colleague Alex did in this older TEI issue:
https://github.com/TEIC/oxygen-tei/issues/7
This will allow you to add back the ID/IDREF checking making Oxygen's validation and content completion work again.
Regards,
Radu
Maybe you can make changes to the custom RNG file to avoid that validation error, like my colleague Alex did in this older TEI issue:
https://github.com/TEIC/oxygen-tei/issues/7
This will allow you to add back the ID/IDREF checking making Oxygen's validation and content completion work again.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 20
- Joined: Thu Oct 18, 2018 11:45 am
Re: solving conflicting ID-types in RNG without disabling content-completeion?
Post by bernardusgui »
I have no problem trying a patch on the RNG. Thanks for the tip - we'll see how it goes!
-
- Posts: 20
- Joined: Thu Oct 18, 2018 11:45 am
Re: solving conflicting ID-types in RNG without disabling content-completeion?
Post by bernardusgui »
FYI - adding the namespace declarations directly into the RNG file worked. Hopefully the folks at TEI-C will fix the problem at source (in customization) but this is a clean patch. Thanks!
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service