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] Docbook-rng link within entry Element


Hi Ray,
In v5, the important element itself accepts an xlink:href attribute, as do
most elements in v5.  So you would not need to wrap a block element
(important) inside an inline element (link) to form a link.  Now, whether
the stylesheet can deal with it is another matter.  How would you expect a
block element to be formatted as a link?  In HTML, would the entire text of
important be link text?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: Ray Miller
To: docbook-apps@lists.oasis-open.org
Sent: Friday, January 27, 2006 3:37 PM
Subject: [docbook-apps] Docbook-rng link within entry Element


docbook-rng-5.0b2 docbook-xsl-1.69.1 oxygen-7.0 (eclipse plug-in)
saxon-6.5.5

The following table fragment:

    ..
    ..
    <entry><link ns1:href="http://www.foo.org/
"><important><para>foo</para></important></entry>
    ..
    ..

will not validate while

    ..
    ..
    <entry><link ns1:href="http://www.foo.org "/></entry>
    ..
    ..

or

    ..
    ..
    <entry><important><para>foo</para></important></entry>
    ..
    ..

will validate

Is this by design or an oversight?

ps: xmlns:ns1="http://www.w3.org/1999/xlink"; is declared in the root


Ray




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