OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] ulink - oxygen18 - jing


Thanks Tom.  Point taken, I forgot and went off Bob's edit 4.
<Link> works fine,  Jing is happy again.

[ but don't forget that the xlink name space needs to be bound e.g.
<article xml:id="xxxxxx" xmlns="http://docbook.org/ns/docbook"; version="5.1" xml:lang="EN" xmlns:xlink="http://www.w3.org/1999/xlink";> This all seems to have been dropped from Bob's edit 4 - it still quotes <ulink> as the way to do it.
**** Bob - how about edit 5 ? **** ]

But shouldn't the style sheets have been updated to forget about deleted elements in docbook 5? Don't maintain obsolete elements.

Ron

On 11/05/2016 10:52 AM, Thomas Schraitle wrote:
Hi Ron,

Am Samstag, 5. November 2016, 10:45:09 schrieb Ron Catterall:
If I put a ulink into an xml document using oxygen18, Jing displays an
error:
element "ulink" not allowed anywhere; expected the element end-tag, text
or element "abbrev", "accel", "acronym", "alt", "anchor", "annotation",
... etc ... see below

The element ulink is not allowed in DocBook 5 anymore. It is only available in
version 4. For version 5, it was renamed to <link>. See table 1.1 of renamed
elements:

http://docbook.org/tdg5/en/html/ch01.html#t.renamed


Despite the error the xml transforms correctly to chunked html output
and the link works OK.

Yes, because the stylesheets know both elements and have templates for both
link and ulink.


This appears to be a false error message from Jing and/or oxygen?

No. See above. Jing is absolutely correct here.


[...]

Hope this helps. :))



--
Ron Catterall
ron@catterall.net


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]