Forums / Suggestions / [bug? ezpublish 3.8.1] hreflang not allowed in <a>
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.
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.