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

Only valid elements should be inserted #10

Closed
stefan-jung opened this issue Feb 14, 2018 · 2 comments
Closed

Only valid elements should be inserted #10

stefan-jung opened this issue Feb 14, 2018 · 2 comments

Comments

@stefan-jung
Copy link

The plugin creates invalid markup. This should not happen.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:oasis:names:tc:dita:spec:classification:rng:subjectScheme.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> 
<subjectScheme>
    <subjectHead>
        <subjectHeadMeta>
            <author type="contributor">Stefan.Eike</author>   <!-- invalid -->
            <critdates>   <!-- invalid -->
                <!--Stefan.Eike-->
                <revised modified="2018/02/14"/>
            </critdates>
            <navtitle>
                <!-- Enter a description of the subject scheme. -->
            </navtitle>
        </subjectHeadMeta>
    </subjectHead>
    <!-- ... -->
</subjectScheme>
@raducoravu
Copy link
Contributor

Thanks, we'll look into this as well.

@DunaMariusCosmin
Copy link
Collaborator

Hi @xephon2,
What do you think if the document will be update like this:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:oasis:names:tc:dita:spec:classification:rng:subjectScheme.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> 
<subjectScheme>
    <topicmeta>
        <author type="contributor">Stefan.Eike</author> 
        <critdates> 
            <!--Stefan.Eike-->
            <revised modified="2018/02/14"/>
        </critdates>
    </topicmeta>
    <subjectHead>
        <subjectHeadMeta>
            <navtitle>
                <!-- Enter a description of the subject scheme. -->
            </navtitle>
        </subjectHeadMeta>
    </subjectHead>
    
    <!-- ... -->
</subjectScheme>

It's ok for you to add the prolog information(author and critdates) in topicmeta element?

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

No branches or pull requests

3 participants