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 "Kim Haase (JIRA)" <ji...@apache.org> on 2011/03/30 22:56:05 UTC

[jira] [Commented] (DERBY-4763) The entity   isn't one of XML's predefined entities, if you want to use it in an XML document then you have to provide a DTD that declares what it means or use  

    [ https://issues.apache.org/jira/browse/DERBY-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13013642#comment-13013642 ] 

Kim Haase commented on DERBY-4763:
----------------------------------

It could also be mentioned that the file DITA-OT1.1.2.1/dtd/topic.mod defines nbsp as an entity:

<!ENTITY nbsp                   "&#160;"                             >

So do several of the XSL files that we use. So we do not see errors when we build the docs.


> The entity &nbsp; isn't one of XML's predefined entities,  if you want to use it in an XML document then you have to provide a DTD that declares what it means or use &#160;
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4763
>                 URL: https://issues.apache.org/jira/browse/DERBY-4763
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Nigel Owen
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Not sure if this is an issue, and I note that nbsp is used in the following files as well. But I get the following warnings when doing a " ant pdf.getstart " and following the instructions at http://db.apache.org/derby/manuals/dita.html. Though I have got the latest Dita toolkit
>  [pipeline] tgsrunningdblook.dita Line 23:The entity "nbsp" was referenced, but not declared.
>  [pipeline] cwwdactivities.dita Line 33:The entity "nbsp" was referenced, but not declared.
>  [pipeline] twwdactivity1.dita Line 23:The entity "nbsp" was referenced, but not declared.
>  [pipeline] tgsrunningij.dita Line 23:The entity "nbsp" was referenced, but not declared.
>  [pipeline] twwdactivity1_Setup.dita Line 68:The entity "nbsp" was referenced, but not declared.
>  [pipeline] tgssetupverify.dita Line 52:The entity "nbsp" was referenced, but not declared.
> I altered it in tgsrunningsysinfo.dita to what I think it should be.
> --- src/getstart/tgsrunningsysinfo.dita (revision 983219)
> +++ src/getstart/tgsrunningsysinfo.dita (working copy)
> @@ -20,7 +20,7 @@
>  -->
>  <task id="tgsrunningsysinfo" xml:lang="en-us">
>  <title>Running sysinfo</title>
> -<shortdesc>The <ph conref="../conrefs.dita#prod/productshortname"></ph>&nbsp;<codeph>sysinfo</codeph> tool
> +<shortdesc>The <ph conref="../conrefs.dita#prod/productshortname"></ph>&#160;<codeph>sysinfo</codeph> tool
>  displays information about your Java environment and your version of <ph conref="../conrefs.dita#prod/productshortname"></ph>.</shortdesc>
>  <prolog><metadata>
>  <keywords><indexterm><indexterm>Derby</indexterm>tools, sysinfo</indexterm>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira