[bug? ezpublish 3.8.1] hreflang not allowed in <a>

Author Message

Carlos Campderrós

Wednesday 02 August 2006 9:47:25 am

Hi everyone,

I created a custom class with some XMLBlock attributes. When inserting this bit of code into an XML Block attribute, I get an error:

The code:

<p>foo bar lorem ipsum <a href="http://some.site.com/" hreflang="es">some site</a>.</p>

The error:

The draft could not be stored.
Required data is either missing or is invalid:
    * intro: Attribute 'hreflang' is not allowed in <b><link></b> element.

As I didn't write any <link> element, but an <a> element, in which 'hreflang' is allowed, it seems a bug in the xml block validator.

Carlos Campderrós

Wednesday 02 August 2006 9:49:05 am

<quote>

   * intro: Attribute 'hreflang' is not allowed in <b><link></b> element.

</quote>

ouch! I thoght that <link> would appear in bold. those 'b' elements didn't appear in the error message, of course.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.