question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Non existing xml catalog mappings for DTDs

See original GitHub issue

I updated to DITA OT 3.5.4, we have an automated test pointing out not existing file references in the XML catalogs, it found these problems. Each error message first shows the missing file path and the path to the XML catalog where it’s referenced.

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\bookmap\dtd\bookmap.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/bookmap/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\concept.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\glossentry.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\glossgroup.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\reference.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\task.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\troubleshooting.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.v2_0\dtd\subjectScheme\subjectScheme.ent does not exist from file …/org.oasis-open.dita.v2_0/dtd/subjectScheme/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\bookmap\dtd\bookmap.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/bookmap/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\concept.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\glossentry.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\glossgroup.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\reference.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\task.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.techcomm.v2_0\dtd\technicalContent\dtd\troubleshooting.ent does not exist from file …/org.oasis-open.dita.techcomm.v2_0/dtd/technicalContent/catalog.xml

The file …\org.oasis-open.dita.v2_0\dtd\subjectScheme\subjectScheme.ent does not exist from file …/org.oasis-open.dita.v2_0/dtd/subjectScheme/catalog.xml

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
raducoravucommented, Oct 1, 2020

@infotexture thanks for the help. The auto tests are running on Windows, hence the path separators in the reported problems. But the problems exist. For example you can open “DITA-OT/plugins/org.oasis-open.dita.techcomm.v2_0/dtd/bookmap/catalog.xml”, it has two references to ““dtd/bookmap.ent”” but the ent file is not located in the “dtd” subfolder.

1reaction
robandercommented, Oct 1, 2020

This has been fixed at OASIS, so I think we just need to update the versions shipped in DITA-OT to the latest beta grammar files.

Base catalog update: https://github.com/oasis-tcs/dita/commit/114f8a1ed0195adba111caa83ba761d1c94a2f8d

Tech comm update: https://github.com/oasis-tcs/dita-techcomm/commit/6c6b5856f2b3b15480efece062ba69b4e9224c3e#diff-4e8930cb06a54258af0b118762a261da

Read more comments on GitHub >

github_iconTop Results From Across the Web

Schemas and DTDs | AppCode - JetBrains
Local XML schema (XSD) and DTD files that are used to validate your XML files are listed in this section. Each entry is...
Read more >
Catalog Files - Altova MapForce 2022 Basic Edition
The catalog mechanism enables MapForce to retrieve commonly used DTDs and XML schemas (as well as stylesheets and other files) from local folders...
Read more >
How to write an XML catalog file - Sagehill Enterprises
Resolve the DTD location ; 4. The public element maps the given publicId string to the given uri location (with the xml:base value...
Read more >
Working with XML Catalogs
Resolve the root namespace using URI catalog mappings. ... Process namespaces through URI mappings for XML Schema option is selected (it is not...
Read more >
XML Catalogs - OASIS Open
This Standard defines a format for an application-independent entity catalog that maps external identifiers and URI references to (other) URI ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found