|
List Info
Thread: validating xml against XSDs with xmllint; seems to not be finding included XSDs
|
|
| validating xml against XSDs with
xmllint; seems to not be finding
included XSDs |

|
2006-08-25 03:05:14 |
Hello,
I'm trying to validate an xml file (form.xml) against an
XSD file
(form.xsd) which includes some other XSD files, which in
turn include
some others, etc. Here is my command line:
xmllint --schema form.xsd ~/form.xml
(I am in the directory with form.xsd and all of the files it
includes).
The output :
Unimplemented block at xmlschemas.c:3069
compilation error: file form.xsd line 45 element xs:element
Schemas: element anonelem13 ref to url not found
compilation error: file form.xsd line 63 element xs:element
Schemas: element anonelem21 ref to url not found
compilation error: file form.xsd line 237 element xs:element
Schemas: element anonelem60 ref to rich-content-message not
found
compilation error: file form.xsd line 40 element xs:element
Schemas: element anonelem9 ref to rich-content-message not
found
...
...
...
WXS schema form.xsd failed to compile
Which seems to imply that it is not parsing/including the
included XSD files.
I have searched the lists and faqs and haven't found an
answer to this
specific problem...I apologize if it is a FAQ and I just
didn't find
it.
Thanks,
_NAP
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
|
|
| validating xml against XSDs with
xmllint; seems to not be finding
included XSDs |

|
2006-08-25 06:55:50 |
On Thu, Aug 24, 2006 at 08:05:14PM -0700, Nicholas Aaron
Philbrook wrote:
> Hello,
>
> I'm trying to validate an xml file (form.xml) against
an XSD file
> (form.xsd) which includes some other XSD files, which
in turn include
> some others, etc. Here is my command line:
>
> xmllint --schema form.xsd ~/form.xml
>
> (I am in the directory with form.xsd and all of the
files it includes).
>
> The output :
>
> Unimplemented block at xmlschemas.c:3069
> compilation error: file form.xsd line 45 element
xs:element
> Schemas: element anonelem13 ref to url not found
> compilation error: file form.xsd line 63 element
xs:element
> Schemas: element anonelem21 ref to url not found
What version are you using ? I can't find any TODO
leading to
the error reported. Make 100% sure you are using the latest
libxml2
version 2.6.26 !
Daniel
--
Red Hat Virtualization group http://redhat.com/v
irtualization/
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/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
|
|
| validating xml against XSDs with
xmllint; seems to not be finding
included XSDs |

|
2006-08-25 19:45:35 |
Hmmm...yes, I am using libxml2-2.5.10 at work, and after
upgrading to
2.6.26 on my home computer, it worked. However, trying to
upgrade to
2.6.26 on my work machine brought up complaints about
needing to
upgrade glibc (currently running 2.3.2, need 2.3.4)...and I
don't
think that's an option on my work machine :-\.
On 8/24/06, Daniel Veillard <veillard redhat.com> wrote:
> On Thu, Aug 24, 2006 at 08:05:14PM -0700, Nicholas
Aaron Philbrook wrote:
> > Hello,
> >
> > I'm trying to validate an xml file (form.xml)
against an XSD file
> > (form.xsd) which includes some other XSD files,
which in turn include
> > some others, etc. Here is my command line:
> >
> > xmllint --schema form.xsd ~/form.xml
> >
> > (I am in the directory with form.xsd and all of
the files it includes).
> >
> > The output :
> >
> > Unimplemented block at xmlschemas.c:3069
> > compilation error: file form.xsd line 45 element
xs:element
> > Schemas: element anonelem13 ref to url not found
> > compilation error: file form.xsd line 63 element
xs:element
> > Schemas: element anonelem21 ref to url not found
>
> What version are you using ? I can't find any TODO
leading to
> the error reported. Make 100% sure you are using the
latest libxml2
> version 2.6.26 !
>
> Daniel
>
> --
> Red Hat Virtualization group http://redhat.com/v
irtualization/
> 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/
>
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
|
|
| validating xml against XSDs with
xmllint; seems to not be finding
included XSDs |

|
2006-08-25 20:54:32 |
On Fri, Aug 25, 2006 at 12:45:35PM -0700, Nicholas Aaron
Philbrook wrote:
> Hmmm...yes, I am using libxml2-2.5.10 at work, and
after upgrading to
> 2.6.26 on my home computer, it worked. However, trying
to upgrade to
> 2.6.26 on my work machine brought up complaints about
needing to
> upgrade glibc (currently running 2.3.2, need
2.3.4)...and I don't
> think that's an option on my work machine :-\.
Check with your sysadmin, I can't think of an Unix like
system
where libxml2 can't be rebuilt against the installed libc.
Daniel
--
Red Hat Virtualization group http://redhat.com/v
irtualization/
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/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
|
|
| validating xml against XSDs with
xmllint; seems to not be finding
included XSDs |

|
2006-08-26 06:13:41 |
I ended up installing an earlier rpm that had xsd:include
implemented
but didn't require a newer glibc. But you are correct, I
probably
could have just gotten the 2.6.26 source and done a full
build.
Either way, I'm happy. Thanks for the help
_NAP
On 8/25/06, Daniel Veillard <veillard redhat.com> wrote:
> On Fri, Aug 25, 2006 at 12:45:35PM -0700, Nicholas
Aaron Philbrook wrote:
> > Hmmm...yes, I am using libxml2-2.5.10 at work, and
after upgrading to
> > 2.6.26 on my home computer, it worked. However,
trying to upgrade to
> > 2.6.26 on my work machine brought up complaints
about needing to
> > upgrade glibc (currently running 2.3.2, need
2.3.4)...and I don't
> > think that's an option on my work machine :-\.
>
> Check with your sysadmin, I can't think of an Unix
like system
> where libxml2 can't be rebuilt against the installed
libc.
>
> Daniel
>
> --
> Red Hat Virtualization group http://redhat.com/v
irtualization/
> 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/
>
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
|
|
[1-5]
|
|