dependencies in cc_config.xml
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 17
- Joined: Wed Jun 14, 2023 10:05 am
dependencies in cc_config.xml
Hi there,
I ran into an odd problem with cc_config.xml:
I put for example
in this order, while my document (TEI) had <p> as child of <div>:
Then the proposed values for "tei:div/@type" were also shown on <p> and were in fact overriding the second value proposals.
BUT: When I reversed the order of the value proposals in the config file to
it worked.
I verified this with <lg> / <l> respectively.
So my question is, whether there are intrinsic rules for setting up the cc_config.xml, which I don't know and only stumbled upon by trial and error.
Many thanks for any help in understanding what I'm actually doing here.
Kind regards
Oliver
I ran into an odd problem with cc_config.xml:
I put for example
Code: Select all
<valueProposals path="tei:div/@type"> ... </valueProposals>
<valueProposals path="tei:p/@type"> ... </valueProposals>
Code: Select all
<div><p>...</p></div>.
BUT: When I reversed the order of the value proposals in the config file to
Code: Select all
<valueProposals path="tei:p/@type"> ... </valueProposals>
<valueProposals path="tei:div/@type"> ... </valueProposals>
I verified this with <lg> / <l> respectively.
So my question is, whether there are intrinsic rules for setting up the cc_config.xml, which I don't know and only stumbled upon by trial and error.
Many thanks for any help in understanding what I'm actually doing here.
Kind regards
Oliver
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: dependencies in cc_config.xml
Post by chrispitude »
Hi Oliver,
I was able to reproduce this with the @outputclass attribute in the following testcase:
I was able to reproduce this with the @outputclass attribute in the following testcase:
cc_config_experiment.zip
You do not have the required permissions to view the files attached to this post.
-
- Posts: 17
- Joined: Wed Jun 14, 2023 10:05 am
Re: dependencies in cc_config.xml
Hi Chris,
thanks for confirming this.
It looks like a bug, doesn't it? I mean the respective paths are different and explicitly given. So why is - in your example - "div/@outputclass[values-for-div]" overriding "p/@outputclass[values-for-p]"? I'm curious for the explanation.
thanks for confirming this.
It looks like a bug, doesn't it? I mean the respective paths are different and explicitly given. So why is - in your example - "div/@outputclass[values-for-div]" overriding "p/@outputclass[values-for-p]"? I'm curious for the explanation.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: dependencies in cc_config.xml
Post by chrispitude »
Hi Oliver,
It does seem like a bug to me too.
It does seem like a bug to me too.
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: dependencies in cc_config.xml
Post by alex_jitianu »
Hi,
Olivier, thank you for reporting this issue. Chris, thank you for confirming it and for the samples. I also confirm that this is an indeed an issue. I've recorded an issue to investigate and understand the issue and hopefully we will release the fix for the next release.
Best regards,
Alex
Olivier, thank you for reporting this issue. Chris, thank you for confirming it and for the samples. I also confirm that this is an indeed an issue. I've recorded an issue to investigate and understand the issue and hopefully we will release the fix for the next release.
Best regards,
Alex
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