db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Halley Pacheco de Oliveira (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1263) build.xml doesn't create the ${basedir}/src/dtd directory
Date Fri, 28 Apr 2006 13:36:38 GMT
    [ 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


Mime
View raw message