Re: [xml] libxml2 behaves differently on actual <attribute> vs attribute inserted using <ref>

On Thu, Apr 03, 2008 at 02:20:24PM -0500, Jatayu wrote:
Hi all,

I used <ref> to reference a predefined attribute in my Relax NG schema,
but I received this error from libxml2:

     "Invalid attribute Title for element Book"

See below schema and xml snippets (notice the <ref name="TitleAttribute"/>
under "Book" element.

I did not get the same error if I directly specify the <attribute>
under "Book", i.e: without using <ref>.

Anyone know why this is the case or what I'm missing?

  Yes that's a bug, can you add it to bugzilla ? I can't process that
right now...



Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]