May 15, 2003

Hacking method names

Sometimes at rainy days of our life we can found ourself looking for a way to create something impossible, say a method containing dash in its name ;) Well, if it seems to be impossible in one reality, try another one. It's impossible in C#, but it's possible in ...

May 13, 2003

Plumbing XPointer

I've implemented XPointer support (shorthand pointer, xmlns(), element() and xpath1() schemas) for the XInclude.NET project. (Btw, I'm wondering if XPointer may be useful not only in XInclude context?) It was really fun and good exercise. Here are some details: Parsing. XPointer grammar is actually one of the simplest and ...

May 11, 2003

How to check XML whitespace char

Working on XPointer parser for the XInclude.NET project I just realized there is no way (if I'm not mistaken) in .NET to check if a character is XML whitespace character. Plus all that functionality needed when parsing XML lexical constructs. No big deal, had to resort to old java ...