kxml_compiler

Frans Englich frans.englich at telia.com
Wed Feb 1 14:13:52 GMT 2006


On Tuesday 31 January 2006 23:53, R.F. Pels wrote:
> On Tuesday 31 January 2006 23.25, Frans Englich wrote:
> > I think it would be useful for readers(including me) if these questions
> > were answered:
> >
> > * What is kxml_compiler?
>
> From looking at the code, I understand that this is a KDE application that
> can generate C++ code as well as an XML parser based on a DTD. That is,
> based on the DTD it creates a set of C++ classes and a parser that can
> parse an XML file that adheres to the definition in the DTD and that can
> create an object tree from the C++ classes generated earlier.

Although not DTDs, but W3C XML Schemata, it seems.

[...]
> > KDOM's growing XPath 2.0/XQuery 1.0 implementation KXPath, has a rather
> > complete WXS Part 2 implementation. This is code whose idea is to end up
> > in
>
> AFAICS, XPath and XQuery are a totally different ballgame. Much more geared
> towards determining if certain elements are present on the fly so to speak.
> IMHO this is more something that more programs could use and therefore
> should be part of one of the core components of KDE.

(My point was that what KWSDL has in common with KXPath is that they both need 
to do type hierarchy navigation and represent WXS primitives, and therefore 
have code duplication.)


Cheers,

		Frans




More information about the kde-core-devel mailing list