Bob Harner wrote:
On 3/15/07, Richard Frovarp <[EMAIL PROTECTED]> wrote:
Abubakar Pasha wrote:
> Hi everyone,
>
> I have a question related to Source Editor and BXE editor in Lenya.
>
> When I open the following document with BXE and Source Editor, why do
> I get validation errors?
>
> <table border="0" class="news-events-feature" width="100%">
> ........
> </table>
>
> When I open this document, I get the following errors:
>
> attribute border is not supported
> attribute width is not supported
>
> I get such errors both in BXE and Source Editor. My question is why
> this happens? Border and Width are 2 valid attributes of <table> tag
> arn't they? What do I need to do in order to get rid of these errors?
> When I open such document in Source Editor and try to save it, I get
> some RELAX NG exceptions regarding the attributes.
>
> Please advise.
>
> Thanks,
>
> AB

They are part of XHTML strict. However, by default the RNG schema used
is only a subset of the full XHTML specification. Looks like you'll need
to look at ./src/modules/xhtml/resources/schemas/xhtml.rng and make sure
you are including  xhtml/modules/table.rng. I think if you comment out
the basic schema in exchange for either XHTML or XHTML-strict you should
be okay. Will need to build again.

If true, can anyone explain why the RNG schema used for these editors
doesn't contain the full XHTML spec?

the xhtml module contains the complete xhtml spec, but it is not active by default (only "xhtml-basic" is selected). but when you uncomment either xhtml-transitional or xhtml-strict, bxe falls apart. i have not been able to find an obvious fix yet.

most likely, this issue is a leftover from the bad old days when workarounds for component problems were sprinkled all over the place.
we still have way too many editor quirks in doctype modules and vice versa.


--
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

Kurt is up in Heaven now.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to