redundant warning about duplicate include of stylesheet
Oxygen general issues.
-
- Posts: 16
- Joined: Tue Mar 08, 2005 7:03 pm
redundant warning about duplicate include of stylesheet
I am using several XSLT stylesheets that each serve as a main stylesheet but they include other stylesheets that include common/generic templates and functions. Each main stylesheet includes/imports the shared stylesheets only once, but I still get warnings about duplicate imports or includes.
So I have something like this:
main1.xsl
main2.xsl
utils.xsl
The main stylesheets never include/import each other.
What can I do to get rid of this warning, other than suppressing all warnings?
So I have something like this:
main1.xsl
Code: Select all
<xsl:stylesheet ....>
<xsl:include href="utils.xsl"/>
......
</xsl:stylesheet>
Code: Select all
<xsl:stylesheet ....>
<xsl:include href="utils.xsl"/>
......
</xsl:stylesheet>
Code: Select all
<xsl:stylesheet ....>
<xsl:include href="other-utils.xsl"/>
......
</xsl:stylesheet>
What can I do to get rid of this warning, other than suppressing all warnings?
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: redundant warning about duplicate include of stylesheet
Post by chrispitude »
Hi hepabolu,
How are you running these refactoring operations? Is it as a refactoring operation with a descriptor file, a refactoring transformation, etc.?
How are you running these refactoring operations? Is it as a refactoring operation with a descriptor file, a refactoring transformation, etc.?
-
- Posts: 16
- Joined: Tue Mar 08, 2005 7:03 pm
Re: redundant warning about duplicate include of stylesheet
Not really sure how refactoring comes in. I use the main stylesheets independent of each other. They are similar but vary slightly. Each main stylesheet serves a different purpose.
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: redundant warning about duplicate include of stylesheet
Hi hepabolu,
Unfortunately I cannot reproduce the warning. I created a similar structure and the validation engine does not report any warnings.
What version of Oxygen do you use? Do you use the Main Files Support from Oxygen?
https://www.oxygenxml.com/doc/versions/ ... files.html
Maybe you can create a simple example to reproduce the warning.
Best Regards,
Octavian
Unfortunately I cannot reproduce the warning. I created a similar structure and the validation engine does not report any warnings.
What version of Oxygen do you use? Do you use the Main Files Support from Oxygen?
https://www.oxygenxml.com/doc/versions/ ... files.html
Maybe you can create a simple example to reproduce the warning.
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 16
- Joined: Tue Mar 08, 2005 7:03 pm
Re: redundant warning about duplicate include of stylesheet
I am using version 25.1 build 2023070306
I don't use the Main Files feature.
I also get the warnings when I run saxon.jar on the command line.
It will take some time before I'm able to create a simple example because I'm on holidays currently.
I don't use the Main Files feature.
I also get the warnings when I run saxon.jar on the command line.
It will take some time before I'm able to create a simple example because I'm on holidays currently.
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