Jonathan Addison wrote:
Richard Frovarp wrote:
Joern Nettingsmeier wrote:
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.


Did you remember to comment out the xhtml-basic line? Plus it would appear those of the homepage variety use a different rng schema.

Which different schema? I believe the homepage module just points to the same rng that's used in the xhtml module.

Yeah, you're right about this.


I haven't tried doing anything (in BXE) that would require more than basic. However, running xhtml-strict doesn't cause any problems under BXE for me, unless the xhtml-basic line is left in.

I receive a "1 unsupported group nodes" warning when BXE first opens. Do you see this as well?

Yes, I see this as well. I also see it with a completely clean build without monkeying with the xhtml.rng file. I'm not sure what the problem is, but it isn't due to switching from xhtml-basic to something else.

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

Reply via email to