Newbie's question about DITAmap
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 26
- Joined: Mon Feb 18, 2013 5:44 pm
Newbie's question about DITAmap
Hello. I'm just making my first steps in oxygen with DITA. I converted a doc file to DITA with oxygen. When I try to open the ditamap file, I get an error saying that a bookmap.dtd file is missing. If I try to open a dita file, it opens in the XML view, and I also get an error about a missing concept.dtd file.
So how do I generate these dtds?
So how do I generate these dtds?
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Newbie's question about DITAmap
Hi,
How exactly did you convert the DOC file to DITA?
A DITA Bookmap should have the following DOCTYPE declaration at the beginning of the file:
A DITA concept should have the DOCTYPE declaration like:
This is how Oxygen creates them when you use the "File->New" dialog wizard.
Probably your resources are missing the PUBLIC identifiers as stated above, identifiers which are used by Oxygen to map using XML catalogs to the DTDs used for validation.
Regards,
Radu
How exactly did you convert the DOC file to DITA?
A DITA Bookmap should have the following DOCTYPE declaration at the beginning of the file:
Code: Select all
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
<bookmap>....
</bookmap>
Code: Select all
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept>
....
</concept>
Probably your resources are missing the PUBLIC identifiers as stated above, identifiers which are used by Oxygen to map using XML catalogs to the DTDs used for validation.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 26
- Joined: Mon Feb 18, 2013 5:44 pm
Re: Newbie's question about DITAmap
Hi.
I converted the doc file with the help of the transformation scenario DOCX DITA bundled with oxygen.
I changed the DOCTYPE line in the ditamap file as follows:
but still get the same error.
I converted the doc file with the help of the transformation scenario DOCX DITA bundled with oxygen.
I changed the DOCTYPE line in the ditamap file as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd" [
<!-- Begin Document Specific Declarations -->
<!-- End Document Specific Declarations -->
]>
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Newbie's question about DITAmap
Hi,
Validating a simple Bookmap like this:
in Oxygen works for me.
What Oxygen version are you using? And on what platform?
When you installed Oxygen at some stage you were asked whether to install Docbook and DITA support (by default checked). Did you uncheck the DITA support at that stage?
Or did you make any changes to the DTDs which come with the DITA Open Toolkit bundled with Oxygen?
Regards,
Radu
Validating a simple Bookmap like this:
Code: Select all
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd" [
<!-- Begin Document Specific Declarations -->
<!-- End Document Specific Declarations -->
]>
<bookmap>
<booktitle>
<mainbooktitle>Main book title</mainbooktitle>
</booktitle>
</bookmap>
What Oxygen version are you using? And on what platform?
When you installed Oxygen at some stage you were asked whether to install Docbook and DITA support (by default checked). Did you uncheck the DITA support at that stage?
Or did you make any changes to the DTDs which come with the DITA Open Toolkit bundled with Oxygen?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 26
- Joined: Mon Feb 18, 2013 5:44 pm
Re: Newbie's question about DITAmap
I created a fresh ditamap and inserted the code you suggested, it gives the same error. I'm using <oXygen/> XML Editor 14.1, build 2012121012 on Windows 7. I don't remember unchecking any options when installing it and changing DTD, I doubt that I did it since I installed oxygen for working with Docbook and DITA. Can I check that somehow?
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service