Re: [xml] xmllint reporting that a schema is empty



hi again,

now that is strange. I'vejust looked at the source and this is from xmllint.c
from libxml2-2.5.7.tar.gz :
#ifdef LIBXML_SCHEMAS_ENABLED
    printf("\t--relaxng schema : do RelaxNG validation against the schema\n");
#endif

there is no such thing as '--schema'? Can anyone comment on this.

Stefan
Stefan

seems that this is new for version 2.5.8

Instead it seems you have to compile it with WXS support.

(I've got 2.5.7).

Me to:

C:\foo\libxml\libxml2-2.5.7.win32\util>.\xmllint.exe
[...]
        --relaxng schema : do RelaxNG validation against the schema
        --schema schema : do validation against the WXS schema

C:\foo\libxml\libxml2-2.5.7.win32\util>.\xmllint.exe --version
[...] using libxml version 20507

   compiled with: FTP HTTP HTML C14N Catalog DocBook XPath XPointer
XInclude Iconv Unicode Regexps Automata Schemas

Anyway
there is no option --schema. So hopefully in 2.5.9 solaris 2.6
works again. Thanks alot anyway.

Try compiling with "Schemas".

Tobi



-- 
      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 301166
|      ///           04277 Leipzig      04277 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -




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