Re: [xml] Status of XML Schema validation support of libxml2



On Mon, Jun 22, 2009 at 03:39:06PM +0200, D.Hendriks (Dennis) wrote:
Hello all,

the libxml2 website states: "A partial implementation of XML Schemas  
Part 1: Structure is being worked on but it would be far too early to  
make any conformance statement about it at the moment."

It looks like this statement has been there for over 7 years already  
(http://web.archive.org/web/20020604015853/http://xmlsoft.org/index.html).

I have two (groups of) questions:

1. Is that statement still relevant? Would it be possible to state what  
functionality does work? Maybe a subset is known to work? Or would it be  
possible to state what doesn't work?

  For that one would need someone fully understanding 1/ the XSD part1
specification and 2/ libxml2 schemas code.
  I'm afraid no person on this planet have that knowledge :-(

2. Also, if something doesn't work (isn't implemented) and I use it,  
will there be an error/crash, or will there be a warning, or will it  
simply skip checking something? Are there false positives/negatives?

Basically, any insight into what is/isn't working and the implications  
of that, would be greatly appreciated.

  Do you fully understand the XSD part 1 specification ? I don't, I
tried, 7 years ago ... oh ...

  It works well for a number of tests, but there are parts that are not
implemented, or which my not be implemented per the spec. Crash are
unlikely, errors at compile time are possible, and unfortunately false
positive too.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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