Re: [xml] libxml2 behaves differently on actual <attribute> vs attribute inserted using <ref>
- From: Jatayu <jatayu74 gmail com>
- To: xml gnome org
- Subject: Re: [xml] libxml2 behaves differently on actual <attribute> vs attribute inserted using <ref>
- Date: Fri, 4 Apr 2008 12:26:50 -0500
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?)
Regards,
= 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...
thanks,
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]