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

Specialized DOCTYPE not reproduced in output #7

Open
nakohdo opened this issue Jan 2, 2018 · 3 comments
Open

Specialized DOCTYPE not reproduced in output #7

nakohdo opened this issue Jan 2, 2018 · 3 comments
Labels

Comments

@nakohdo
Copy link

nakohdo commented Jan 2, 2018

Hi,

I've successfully run the transformation that comes with DITA-OT 3.0.1 after integrating our own specialization. However, the specialized DOCTYPE's public identifier is not reproduced in the output so

<!DOCTYPE datasheet PUBLIC "-//MY//DTD Datasheet//EN" "datasheet.dtd"> becomes

<!DOCTYPE datasheet PUBLIC "-//OASIS//DTD DITA Datasheet//EN" "datasheet.dtd">.

Is this the desired behavior or a bug?

Best regards,
Frank

@robander robander added the bug label Jan 2, 2018
@robander
Copy link
Member

robander commented Jan 2, 2018

Looks like a bug - if it's preserving any of the public ID, it should preserve all of it, and not switch the ownership to OASIS.

@nakohdo
Copy link
Author

nakohdo commented Jan 3, 2018

Just in addition, this seems to happen only with the main map and not with submaps or single topics.

@jelovirt
Copy link
Member

Sounds like something in preprocessing, maybe map merge, is stripping the <?doctype-public>` PIs.

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

No branches or pull requests

3 participants