[
https://issues.apache.org/jira/browse/DERBY-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484499
]
Laura Stewart commented on DERBY-1933:
--------------------------------------
I noticed that too, but when I generate PDF with ant, it doesn't word wrap.
Strange.
On the other hand, the very next file in the PDF has a long example. In DITA,
the example shows forced line breaks in the example (no spaces).
What I am wondering, is if we use line breaks instead, will it mess up users
who copy/paste the example to run it? The line breaks aren't part of the
example... can the java still be run even though there are multiple lines ithat
are copied?
If the example can be run without problem, then using forced line breakes in
the dita tagging is the answer...
The file that I am referring to is rrefattrib88843.dita =
"encryptionProvider=providerName attribute"
> Reference Manual updates - Setting attributes for the db connection URL
> -----------------------------------------------------------------------
>
> Key: DERBY-1933
> URL: https://issues.apache.org/jira/browse/DERBY-1933
> Project: Derby
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 10.2.1.6
> Reporter: Laura Stewart
> Assigned To: Laura Stewart
> Attachments: derby1933_1.diff, rrefattribencryptkey.html,
> rrefjdbc10889.html
>
>
> Setting attributes for the database connection URL:
> Section = Attributes of the Derby database connection URL
> File = http://db.apache.org/derby/docs/10.2/ref/ref-single.html#N2D6D9
> Update =
> This section has 3 examples of setting attributes on database connection URL
> using Java. One minor suggestion is we should use Java commenting scheme ie
> /*..*/ instead of -- in this sample code.
>
> Section = encryptionKey section under Setting attributes for the database
> connection URL
> File = http://db.apache.org/derby/docs/10.2/ref/rrefattribencryptkey.html
> Update =
> The pdf page for encryptionKey has incomplete example. The pdf page only
> shows
> jdbc:derby:newDB;create=true;dataEncryption=true;encryptionAlgorithm=DES/CBC/NoPadding;
> The corresponding html page shows the correct example which looks as follows
> jdbc:derby:newDB;create=true;dataEncryption=true;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666768
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.