The insert element and insert sibling lists don't show elements.
I see that the DTD is stored at the folder "C:\Programme\XML Copy Editor\dtd\dita"
The catalog contains the element:
<public publicId="-//OASIS//DTD DITA Topic//EN"
uri="file:///C:/Program%20Files/XML%20Copy%20Editor/dtd/dita/topic.dtd"/>
Can you help me?
Thanks a lot and regards
Jörg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the association should work. I can't think of a straightforward fix, though. I'll probably have to generate the catalog dynamically (the program knows what the apps folder is called, but the static catalog file I'm shipping with the application doesn't).
Best wishes,
Gerald
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a similar problem although it's not with a local DTD file. Admittedly this might be something dumb I'm doing and have nothing to do with XML Copy Editor. For some reason the following XML will not validate and gives me this warning:
Error at line 3, column13: Validation failed: no DTD found !
Here's the shortened version of the XML file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ONIXmessage SYSTEM "http://www.editeur.org/onix/2.1/short/onix-international.dtd">
<ONIXmessage>
</ONIXmessage>
The path is valid, you can use it to download the DTD locally. When I placed it in the same folder and removed everything but the name of the DTD file from the path then it worked.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a similar problem but with the Linux release (so the installation language under Windows does not help me a lot… Also, I'm a newbie to XML…).
I have to create some XML documents, following a given DTD, so I first want to create a template for them.
Here below is the template :
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Gauge SYSTEM "/var/tmp/gauges.dtd"><GaugeName="test"Version="1.0"></Gauge>
("gauge" is the root element as defined by this DTD, and the 2 attributes are those specified in the DTD for it).
Checking with XCE states that : 1) the document is well formed; 2) the document is valid.
I understand that the latter should indicate that the DTD is correctly found and processed (otherwise, I should get an complain of missing DTD file, or a complaint that the XML file is well-formed but not valid).
However, the "Insert Element" and "Insert Sibling" subwindows remain empty, which means that the DTD is not used to help me populating the document in accordance with the DTD.
(In fact I have the same problem with sevaral DTDs, I took this one as an example).
Could you help ?
Additionaly I was surprised that when I wanted to associate my file with the DTD (using menu "XML/Associate/System DTD"), the file selection dialog box opened in the current working directory (let's say /var/tmp), where my template file is created, and not the application directory (/usr/share/xmlcopyeditor), nor any kind of "system" directory.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Installation of XML Copy Editor on Win XP.
I create a document (Datei - Neu - DITA Topic):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="test">
<title></title>
</topic>
Validation gives the error: " ... no DTD found".
The insert element and insert sibling lists don't show elements.
I see that the DTD is stored at the folder "C:\Programme\XML Copy Editor\dtd\dita"
The catalog contains the element:
<public publicId="-//OASIS//DTD DITA Topic//EN"
uri="file:///C:/Program%20Files/XML%20Copy%20Editor/dtd/dita/topic.dtd"/>
Can you help me?
Thanks a lot and regards
Jörg
Hi Jörg, this is a known issue in the current version (v1.1.0.6).
Essentially the catalog expects an English-language Windows installation. If you change the relevant uri to:
file:///C:/Programme/XML%20Copy%20Editor/dtd/dita/topic.dtd
the association should work. I can't think of a straightforward fix, though. I'll probably have to generate the catalog dynamically (the program knows what the apps folder is called, but the static catalog file I'm shipping with the application doesn't).
Best wishes,
Gerald
Hi Gerald,
thanks a lot for this quick solution and the XML Copy Editor.
It's a very great software. Keep up the good work.
Regards Jörg
I have a similar problem although it's not with a local DTD file. Admittedly this might be something dumb I'm doing and have nothing to do with XML Copy Editor. For some reason the following XML will not validate and gives me this warning:
Error at line 3, column13: Validation failed: no DTD found !
Here's the shortened version of the XML file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ONIXmessage SYSTEM "http://www.editeur.org/onix/2.1/short/onix-international.dtd">
<ONIXmessage>
</ONIXmessage>
The path is valid, you can use it to download the DTD locally. When I placed it in the same folder and removed everything but the name of the DTD file from the path then it worked.
Hi,
I have a similar problem but with the Linux release (so the installation language under Windows does not help me a lot… Also, I'm a newbie to XML…).
I have to create some XML documents, following a given DTD, so I first want to create a template for them.
Here below is the template :
("gauge" is the root element as defined by this DTD, and the 2 attributes are those specified in the DTD for it).
Checking with XCE states that : 1) the document is well formed; 2) the document is valid.
I understand that the latter should indicate that the DTD is correctly found and processed (otherwise, I should get an complain of missing DTD file, or a complaint that the XML file is well-formed but not valid).
However, the "Insert Element" and "Insert Sibling" subwindows remain empty, which means that the DTD is not used to help me populating the document in accordance with the DTD.
(In fact I have the same problem with sevaral DTDs, I took this one as an example).
Could you help ?
Additionaly I was surprised that when I wanted to associate my file with the DTD (using menu "XML/Associate/System DTD"), the file selection dialog box opened in the current working directory (let's say /var/tmp), where my template file is created, and not the application directory (/usr/share/xmlcopyeditor), nor any kind of "system" directory.
Thanks in advance.