Hi Bob,

Thanks for the explanation. I did go ahead and build a "cleanup" stylesheet 
that "fixes" these two problems (and also removes the svg references that I 
mentioned in previous email). As soon as epubcheck fixes the <p> in <th> 
problem, I'll back that out.

Yes, I am getting a @rules attribute from DocBook XSL 1.77.1. It looks like 
it's coming from informal tables that have a rules attribute in the DocBook. I 
think it's just passing them through unchanged.

Dick
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
[email protected]



On Aug 22, 2012, at 11:33 AM, Bob Stayton wrote:

> Hi Dick,
> Sorry for the delay in responding as I was out of town for a bit.
> 
> The item about <p> in <th> is soon to be fixed in epubcheck, so don't worry 
> about that one.
> 
> Regarding the rules attribute, that is not supported in HTML5, which is what 
> epub3 uses.  See:
> 
> http://www.w3schools.com/html5/tag_table.asp
> 
> Are you getting a @rules attribute from DocBook XSL 1.77.1?
> 
> Bob Stayton
> Sagehill Enterprises
> [email protected]
> 
> 
> ----- Original Message ----- From: "Richard Hamilton" <[email protected]>
> To: "DocBook Apps" <[email protected]>
> Sent: Thursday, August 16, 2012 4:47 PM
> Subject: [docbook-apps] epub3 follow-up
> 
> 
> This note is probably mostly for Bob, but I'm posting to the list because the 
> answer may be of interest to all.
> 
> I've been getting two table-related syntax errors from epubcheck 3.0b5. The 
> first complains about <p> inside <th> and the second complains about the 
> presence of the rules attribute inside a <table> element.
> 
> Both appear to be valid xhtml, and doing a little web searching, I see that 
> Bob reported the first to the epubcheck developers a while ago.
> 
> My question is:
> 
> Is it worth the trouble to do a script to "fix" these cases so that epubcheck 
> will report a clean result, or are they well enough known that distributors 
> (Apple ibooks and BN Pubit, for example) will accept those errors when they 
> encounter them in their input testing?
> 
> Thanks for any insight you can provide.
> 
> Dick Hamilton
> -------
> XML Press
> XML for Technical Communicators
> http://xmlpress.net
> [email protected]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to