Re: [docbook] Indexterm embedded in indexterm/primary or indexterm/secondary

2022-02-23 Thread Norman Walsh
Yes, that’s stupid. GitHub.com/docbook/docbook 
 

On Wed, 23 Feb 2022, at 18:25, Richard Hamilton wrote:
> Because of a fat-finger error, I just found that if you embed an indexterm 
> inside primary or secondary of an indexterm, the result is legal DocBook 
> according to the 5.0 through 5.2 schemas, including Schematron.
> 
> 
>   
> term
>   
> 
> 
> Probably not a big deal in practice, except that it does lead to an error in 
> an epub when tested with epubcheck, and if the term inside the embedded 
> indexterm appears nowhere else, you get an error saying that there are no 
> entries for that index key.
> 
> If no one sees any reason for that to be valid, I can file an exception 
> (though I forget where, exactly, to do that:-).
> 
> Best regards,
> Dick Hamilton
> ---
> XML Press
> XML for Technical Communicators
> http://xmlpress.net
> hamil...@xmlpress.net
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
> For additional commands, e-mail: docbook-h...@lists.oasis-open.org
> 
> 


[docbook] Indexterm embedded in indexterm/primary or indexterm/secondary

2022-02-23 Thread Richard Hamilton
Because of a fat-finger error, I just found that if you embed an indexterm 
inside primary or secondary of an indexterm, the result is legal DocBook 
according to the 5.0 through 5.2 schemas, including Schematron.


  
term
  


Probably not a big deal in practice, except that it does lead to an error in an 
epub when tested with epubcheck, and if the term inside the embedded indexterm 
appears nowhere else, you get an error saying that there are no entries for 
that index key.

If no one sees any reason for that to be valid, I can file an exception (though 
I forget where, exactly, to do that:-).

Best regards,
Dick Hamilton
---
XML Press
XML for Technical Communicators
http://xmlpress.net
hamil...@xmlpress.net




-
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org