Tony Graham writes:
> I've just read that part of the XInclude spec [1], and I'm not sure that
> I know what it says, either, but it's clear that the 'language fixup' is
> able to create 'xml:lang=""' in some circumstances.
Yes. I think my XInclude implementation should ad xml:lang="" when the
> No localization exists for "" or "". Using default "en".
> Error at xsl:text on line 169 column 19 of functions.xsl:
> XTMM9000 Processing terminated by xsl:message at line 169 in
> functions.xsl
Fixed in 2.0.8 just released. The termination was a bug, probably left
over from when I was
On 07/02/2023 14:00, Jirka Kosek wrote:
On 07.02.2023 9:53, Norm Tovey-Walsh wrote:
*Blink*. Really? I would not have expected language fixup to do that,
but maybe it does. So xml:lang="" is equivalent to $default-language,
I suppose.
Well, I don't know if this is what XInclude spec says but
> As I understand the XML specification, the meaning of an empty
> "xml:lang" attribute is defined as overriding any language inherited
> from the parent element and reverting to the processor default. So it
> might make sense that if no language is indicated in an included file,
> it is taken as
Jirka Kosek wrote:
> On 07.02.2023 9:53, Norm Tovey-Walsh wrote:
> > *Blink*. Really? I would not have expected language fixup to do that,
> > but maybe it does. So xml:lang="" is equivalent to $default-language,
> > I suppose.
>
> Well, I don't know if this is what XInclude spec says but
Hi,
On 06.02.23 19:48, Tony Graham wrote:
On 06/02/2023 15:23, Thomas Schraitle wrote:
...
No localization exists for "" or "". Using default "en".
Error at xsl:text on line 169 column 19 of functions.xsl:
XTMM9000 Processing terminated by xsl:message at line 169 in functions.xsl
Do you
On 07.02.2023 9:53, Norm Tovey-Walsh wrote:
*Blink*. Really? I would not have expected language fixup to do that,
but maybe it does. So xml:lang="" is equivalent to $default-language,
I suppose.
Well, I don't know if this is what XInclude spec says but IIRC there
were some XInclude processors
Jirka Kosek writes:
> Empty @xml:lang can be result of XInclude when included files do not
> explicitly specify @xml:lang.
*Blink*. Really? I would not have expected language fixup to do that,
but maybe it does. So xml:lang="" is equivalent to $default-language,
I suppose.
Tony Graham writes:
> On 06/02/2023 18:58, Dave Pawson wrote:
>> On Mon, 6 Feb 2023 at 18:48, Tony Graham wrote:
> ...
>> Which begs the question, where to set the default language, and should
>> it be reported as a bug if not set?
>> [Guess, $gentext-language will default to 'default language'
> The 'terminate="yes"' on line 168 does rather contradict the message
> that processing will continue with the default language.
Yeah. That seems like a bug. Perhaps I did that when I was trying to
debug and forgot to take it out.
Be seeing you,
On 06.02.2023 20:07, Tony Graham wrote:
If you look at line 145, $default-language is used if there's no
$gentext-language and no @xml:lang. An empty @xml:lang would be used
ahead of $default-language and would result in those empty values in the
error message.
Empty @xml:lang can be result
On 06/02/2023 18:58, Dave Pawson wrote:
On Mon, 6 Feb 2023 at 18:48, Tony Graham wrote:
On 06/02/2023 15:23, Thomas Schraitle wrote:
...
No localization exists for "" or "". Using default "en".
Error at xsl:text on line 169 column 19 of functions.xsl:
XTMM9000 Processing terminated by
On Mon, 6 Feb 2023 at 18:48, Tony Graham wrote:
>
> On 06/02/2023 15:23, Thomas Schraitle wrote:
> ...
> > No localization exists for "" or "". Using default "en".
> > Error at xsl:text on line 169 column 19 of functions.xsl:
> >XTMM9000 Processing terminated by xsl:message at line 169 in
>
On 06/02/2023 15:23, Thomas Schraitle wrote:
...
No localization exists for "" or "". Using default "en".
Error at xsl:text on line 169 column 19 of functions.xsl:
XTMM9000 Processing terminated by xsl:message at line 169 in
functions.xsl
Do you have any 'xml:lang=""' in your document(s)?
Hi
On 03.02.23 15:43, Norm Tovey-Walsh wrote:
A few weeks ago, I posted a note about the DocBook xslTNG Stylesheets
then current 2.0.2 prerelease. This morning I posted 2.0.7. The big
change is in handling of media:
https://xsltng.docbook.org/guide/2.0.7/ch-customizing.html#media
Feedback
15 matches
Mail list logo