Re: validation-Error with csismap.rng-module
Christian Stocker <[email protected]> Tue, 01 Jun 2004 15:30:29 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi On 1.6.2004 15:29 Uhr, Mathias Jud wrote: > 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? Do you really need the Block.class there? if not, just take it out. maybe it helps. and try also with removing the oneOrMOre/choice. I think, if you have a map, you need an area anyway ;) chregu > > Special thanks in advance > Mathias > > > [email protected] > bodenackerstr. 2 > 8304 wallisellen > fon: +41 1 830 23 02 > fax: +41 1 830 29 63 > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB -- bx-editor-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users