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

Attributes in a non default namespace cause an error #577

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

frankarensmeier
Copy link
Contributor

Copy the attribute namespace. If the input document contains attributes in a custom namespace, functions.xsl raises an error. Example:

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook" xmlns:xinfo="http://ns.expertinfo.se/cms/xmlns/1.0"
    xmlns:xlink="http://www.w3.org/1999/xlink" version="5.1">
    <title>Section title</title>
    <para>Paragraph</para>
    <informaltable condition="hidden" xinfo:product="Product1;Product2">
        <thead>
            <tr>
                <th>Head</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Cell</td>
            </tr>
        </tbody>
    </informaltable>
</section>

Copy the attribute namespace
@frankarensmeier
Copy link
Contributor Author

Ping. I would like to raise this again. Is there any chance that the Pr can be merged? This is a real blocker otherwise.

@ndw
Copy link
Contributor

ndw commented Feb 10, 2025

Sorry. I meant to get to some DocBook issues yesterday but was distracted. Will work on it asap.

@ndw ndw merged commit fc1c920 into docbook:main Feb 10, 2025
2 checks passed
@frankarensmeier
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants