validation-Error with csismap.rng-module
Mathias Jud <[email protected]> Tue, 1 Jun 2004 15:29:33 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Chregu
We tried out the RelaxNG-Module csismap.rng to allow the following
XHTML-Code:
<p><img alt="" height="389" src="G_C/WW_ubersicht.gif"
usemap="WW_ubersichtbcd69d0c" width="388"/><map
id="WW_ubersichtbcd69d0c" name="WW_ubersichtbcd69d0c"><area alt=""
coords="224,289,279,318" href="PF_ww_Park2.htm"
shape="rect"/></map></p>
Jing is validating it correctly.
But BXE gives us the following message at startup-Time:
area(http://www.w3.org/1999/xhtml) is not allowed as child of
map(http://www.w3.org/1999/xhtml)
Could we rewrite the Relax-NG-Module in a different way to make it work
in BXE?
This is the current definition for the precence of the area-tag in the
map-tag:
<define name="map">
<element name="map">
<ref name="map.attlist"/>
<oneOrMore>
<choice>
<!-- This does not use Block.mix
because loose.dtd doesn't use %Flow; -->
<ref name="Block.class"/>
<ref name="area"/>
</choice>
</oneOrMore>
</element>
</define>
Do you have any ideas?
Special thanks in advance
Mathias
[email protected]
bodenackerstr. 2
8304 wallisellen
fon: +41 1 830 23 02
fax: +41 1 830 29 63
--
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users