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

Hi Daniel.

Done. I've submitted a ticket on bugzilla.

By the way, I would be interested to hear your thought
on the extent/level of the RNG support in libxml2.

(brief comment/thought is fine :)

My current project requires the use of xml and I appreciate the fact that there's
a tool/library like libxml2 out there. I'm still oscillating between XSD vs RNG,
but leaning more toward RNG.

Would you say that RNG support in libxml2 is lacking/lagging compared to its XSD
support? (in light of previous post from Belgabor?)

= Jatayu

On Fri, Apr 4, 2008 at 9:48 AM, Daniel Veillard <veillard redhat com> wrote:
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]