eZ Community » Forums » Suggestions » [bug? ezpublish 3.8.1] hreflang not...
expandshrink

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

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

Wednesday 02 August 2006 6:47:25 pm - 1 reply

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.

Wednesday 02 August 2006 6:49:05 pm

<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.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from