You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Halley Pacheco de Oliveira (JIRA)" <de...@db.apache.org> on 2006/04/27 23:35:38 UTC
[jira] Created: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
build.xml doesn't create the ${basedir}/src/dtd directory
-----------------------------------------------------------
Key: DERBY-1263
URL: http://issues.apache.org/jira/browse/DERBY-1263
Project: Derby
Type: Bug
Environment: DITA-sourced documentation
Reporter: Halley Pacheco de Oliveira
The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
Without the ${basedir}/src/dtd directory, the tags
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
"../dtd/concept.dtd">
in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Jean T. Anderson (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=comments#action_12376855 ]
Jean T. Anderson commented on DERBY-1263:
-----------------------------------------
I wonder if you need to configure jEdit to resolve the DITA DTDs locally.
The forrest web site has instructions for resolving forrest DTDs locally at http://forrest.apache.org/docs_0_70/catalog.html . If this information helps you with jEdit, we should update http://db.apache.org/derby/manuals/dita.html -- and also add jEdit to the list of editors.
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=comments#action_12376830 ]
Andrew McIntyre commented on DERBY-1263:
----------------------------------------
It was determined recently that because the DITA toolkit uses an XML catalog, the location of the DTDs are determined by correlating the name of the DTD (e.g. '-//OASIS//DTD DITA Concept//EN') with the location of the files in the catalog. See catalog-dita.xml in the DITA toolkit.
It builds fine for me without copying the DTDs over. Are you getting a failure in your doc build because of this?
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Halley Pacheco de Oliveira (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=all ]
Halley Pacheco de Oliveira closed DERBY-1263:
---------------------------------------------
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
> Assignee: Andrew McIntyre
> Fix For: 10.2.0.0
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=all ]
Kathey Marsden updated DERBY-1263:
----------------------------------
Component: Build tools
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Components: Build tools
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
> Assignee: Andrew McIntyre
> Fix For: 10.2.0.0
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Halley Pacheco de Oliveira (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=comments#action_12376932 ]
Halley Pacheco de Oliveira commented on DERBY-1263:
---------------------------------------------------
In Apache Forrest Project's page "Using Catalog Entity Resolver for local DTDs" is written:
------
jEdit - Open Source programmer's text editor
On version 4.2. Select the menu:
Plugins > Plugins Options > Plugins:XML > Catalogs
Select the "+" button, and use the "File System Browser"
to specify the TR9401 Catalog file:
"forrest/main/webapp/resources/schema/catalog"
------
I selected the + button and used the "File System Browser" to add all files from directory DITA-OT1.1.2.1/dtd/ (and also only the files with .dtd extension, with same results) to "Catalog files to import", and the consequence was:
1) Without removing the lines
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
"../../dtd/concept.dtd">
there is no modification in the underlined red lines.
2) Removing the lines
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
"../../dtd/concept.dtd">
the underlined red disappears from all lines but
<concept id="crefjavbclobnot" xml:lang="pt-br">
that remains underlined red showing the message:
"Cannot find the declaration of element 'concept'"
I think it is easier to copy the dtd directory manually than configuring jEdit, and the same problem probably occurs with other editors and tools when validating DITA files against DTD.
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Halley Pacheco de Oliveira (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=comments#action_12376990 ]
Halley Pacheco de Oliveira commented on DERBY-1263:
---------------------------------------------------
I added the catalog-dita.xml file using the Plugins Options instead of adding all files from directory DITA-OT1.1.2.1/dtd/, and the results were exactly the same with both methods. No differences. Thank you for copying the dtds back with revision 397962.
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
> Assignee: Andrew McIntyre
> Fix For: 10.2.0.0
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Halley Pacheco de Oliveira (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=comments#action_12376853 ]
Halley Pacheco de Oliveira commented on DERBY-1263:
---------------------------------------------------
The absence of dtd directory doesn't cause any failure in doc building, but when I open any .dita file to edit with jEdit, almost all lines are displayed in underlined red with a message stating that the element type must be declared. When the dtd directory is present, the underlines disappear.
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=all ]
Andrew McIntyre resolved DERBY-1263:
------------------------------------
Fix Version: 10.2.0.0
Resolution: Fixed
Assign To: Andrew McIntyre
It should have only been necessary to add the catalog-dita.xml file using the Plugin Manager. But I'm not against copying the dtds to the src directory, so I've put the copy of the dtds back with revision 397962.
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
> Assignee: Andrew McIntyre
> Fix For: 10.2.0.0
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-1263) build.xml doesn't create the
${basedir}/src/dtd directory
Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1263?page=comments#action_12376854 ]
Andrew McIntyre commented on DERBY-1263:
----------------------------------------
You need to point jEdit to DITA's XML catalog. See:
See http://forrest.apache.org/docs_0_70/catalog.html#jedit
for instructions on how to do this. The catalog file you should add is catalog-dita.xml in the top levelo of the toolkit. Let me know if that solves your problem.
> build.xml doesn't create the ${basedir}/src/dtd directory
> -----------------------------------------------------------
>
> Key: DERBY-1263
> URL: http://issues.apache.org/jira/browse/DERBY-1263
> Project: Derby
> Type: Bug
> Environment: DITA-sourced documentation
> Reporter: Halley Pacheco de Oliveira
>
> The Revision 397627 build.xml file doesn't have the instruction <copy todir="${basedir}/src/dtd">, or equivalent, to copy the dtd directory from ${basedir}/DITA-OT1.1.2.1/dtd/ to ${basedir}/src/dtd the first time one of the manuals is built, as previous versions of this file had.
> Without the ${basedir}/src/dtd directory, the tags
> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
> "../dtd/concept.dtd">
> in .dita files, and other tags with references to dtd files, are incorrect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira