Skip to content
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

Chunking does not work when using xsd #4458

Open
TiboGr opened this issue Apr 3, 2024 · 0 comments
Open

Chunking does not work when using xsd #4458

TiboGr opened this issue Apr 3, 2024 · 0 comments
Labels
bug needs reproduction Issue needs to be reproduced in latest release

Comments

@TiboGr
Copy link

TiboGr commented Apr 3, 2024

Expected Behavior

Output files are produced depending on chunk attributes

Actual Behavior

The transformation always outputs one file for each topic

Steps to Reproduce

  1. define the following map with its topics :
<?xml version="1.0" encoding="UTF-8"?>
<map xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:map.xsd:1.3">
    <title>Map 1</title>
    <topicref href="topic.dita" chunk="to-content">
        <topicref href="topic2.dita"/>
    </topicref>
</map>
  1. run the transformation dita -i map.ditamap -o out -f dita
  2. There should be one output containing both topic and topic2 but there is topic.dita and topic2.dita

Note: using dtd instead of xsd works fine

Environment

  • DITA-OT version: 4.2.2
  • Operating system and version: Windows 11
  • How did you run DITA-OT? dita command
  • Transformation type: HTML5, dita
@TiboGr TiboGr added the bug label Apr 3, 2024
@jelovirt jelovirt added the needs reproduction Issue needs to be reproduced in latest release label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs reproduction Issue needs to be reproduced in latest release
Projects
None yet
Development

No branches or pull requests

2 participants