[Mono-list] XPathNavigator + attributes: weird results

Kris Luyten kris.luyten@luc.ac.be
Mon, 29 Sep 2003 21:56:35 +0200


Hi Everybody,

has something changed in XPathNavigator since release 0.26? Since I
upgraded to the CVS mono, I am getting some weird results when querying
the attributes of XML tags.

I prepared a minimal example illustrating what I mean on:
http://lumumba.luc.ac.be/~kris/projects/uiml.net/test4.cs.
It queries the xml document
http://lumumba.luc.ac.be/~kris/projects/uiml.net/gtk-sharp-1.0.uiml.

I would expect it to write:
Attribute id = text
Attribute type = System.String

but it outputs:
Attribute id = text
Attribute type = &d-param;



By the way: I am working on a UIML renderer for .Net. This should allow
to create User Interfaces in XML, independent of the widget set. Its
purpose is to allow to choose the most appropriate widget set
automatically at runtime. For now, I only use Gtk#, but plan to
integrate WxWindows or Qt# (if I get it working (-: ) and maybe Windows
Forms. The core of the rendering engine works ("worked" before I got the
error described above actually) and is available (free software) on
http://lumumba.luc.ac.be/~kris/projects/uiml.net/. It is useless for now
because I did not implement the bindings with the program logic yet (see
www.uiml.org for the complete specs). 


Kris
-- 
Kris Luyten
Expertisecentrum Digitale Media - Limburgs Universitair Centrum
Wetenschapspark 2  3590 Diepenbeek (Belgium)
email: kris.luyten@luc.ac.be
PGP-key: http://lumumba.luc.ac.be/kris/kris-pub.txt
homepage: http://lumumba.luc.ac.be/kris/