https://issues.apache.org/bugzilla/show_bug.cgi?id=45488
Scott Deakin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Scott Deakin <[email protected]> 2008-12-30 03:18:01 PST --- I also encountered this problem early on in the evaluation of Lenya. From what I discovered, it is not due to a bug in the code, but a configuration issue. I have found three ways you can resolve the problem: 1. Remove the offending tags in Kupu's HTML mode (not always appropriate) 2. Have Kupu filter the tags before sending them to Lenya 3. Relax the DTD for XHTML in Lenya To have Kupu filter the tags, you need to take a look at the NonXHTMLTagFilter() function in lenya/modules/kupu/resources/kupu/common/kupucontentfilters.js. The comments in the function explain how the array affects the filtering. To have Lenya relax it's XHTML schema, you need to look at the following files: lenya/modules/xhtml/resources/schemas/xhtml.rng lenya/modules/xhtml/resources/schemas/xhtml/xhtml-basic.rng lenya/modules/xhtml/resources/schemas/xhtml/modules/*.rng The first two just describe which of the modules/*.rng will get used. You need to check the entire include path to ensure the correct .rng files get used and then edit them appropriately (if required). For the issue you have described below, including table.rng instead of basic-table.rng will resolve it. Kupu puts <tbody> and <thead> tags into the XHTML for you and they are not defined in the table-basic.rng. This is probably not the best way to achieve this, but for the moment it suits my needs. If I figure out a more appropriate workaround I'll post it here. HTH, Scott -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
