July 2004 - Posts
Crap in, crap out -- it’s an axiom that applies to many aspects of enterprise development, but none more so than building reliable and robust web applications and integration projects with Extensible Markup Language (XML). Since its inception, XML has been seen as the cure-all for every problem related to web applications and integration projects. However, “crappy,” poorly written XML can either slow down an integration project, or worse, cause the integration project to collapse.
Read the complete article
here.
Sonu
The XML Query Working Group and the XSL Working Group have released
five updated Working Drafts.
Sonu

I was very interested to create my own XML content management system, unfortunately I do not have the time to create one. However I found a very interesting already existing cms based on XML and in .NET. Its called
XMLNuke. Hopefully I will get some time to take a look at it deeper.
Sonu
Mark Pilgram discuss this in his article on XML.com.
"There must have been a moment, at the beginning, where we could have said ... no. Somehow we missed it. Well, we'll know better next time.Until then ..."
XML on the Web Has Failed
Sonu
Just for fun I am currently working on a small game. It's not a very interesting game. It’s a winform that displays a button and whenever the user hovers over the button it disappears to another location. The user has to try to push the button, before it moves to another location. The interesting part is that I used the OnMouseHover event to check whether the mouse is over the control or not. Unfortunaly this event was very slow. Each time the user was over the control it took approx. 2 secs before it moved away. That is very slow for such a game. After a research on the MSDN, I found that the mouse events occur in the following order.
- MouseEnter
- MouseMove
- MouseHover/ MouseDown/ MouseWheel
- MouseUp
- MouseLeave
I changed my code so that it works with the MouseEnter event and now it is much faster. :-)
Update1: Okay, I recognized that it was nearly impossible (after someone pointed it out to me) to catch the button, so I have added a new timer which waits 150ms before the button moves to another location. You have more than enough time to catch the button ;-). You can download the game here and the source code here. Let me know how you liked it. Remember I did this just for fun, so don't except too much.
Update2: Currently I am adding some new features (suggested by Brad), some graphics and some visualization effects so that it will look nice. After all its a game which should look nice ;)
Update3: I have added some features in the game. It will show you how many seconds/minutes you took to catch the button. If you are good and catch several times the button, then a second button will be added, which you also have to catch. If you are still good after the two buttons then a third button will be added and so on... Enjoy it! Keep it mind that I did this just for fun.
You can download the game here and the source code here.
Sonu
Marcie taught me today some basics about Test-Driven-Development on IM. Later I took a look at
NUnit and now I think it's just great. Later I will post more about my experience. Thanks Marcie :-)
Update: Here you can find some resources.
Sonu
We have finally removed some functions on
XMLPitstop which were not necessary at the moment. I have also cleaned up some of the resource categories, so that duplicate or not useful resources were deleted. However there are still some categories which requires a cleanup. Don't worry I am working on that. David is also working to implement a new forum and also on some more cleanup. However we appreciate your visits any your patience if some features does not work the way they should. If anybody has any suggestions for features, they are very much welcomed.
Sonu
This XML how to (Index) shows how the user can obtain the XML returned by a WebService which is shown in the browser.
Sonu
Few days ago I worked on some winforms and needed some validator controls. I thought that the winforms should have the same validator controls as webforms. However I could not find them. So I used the
ErrorProvider control which also does a good job. However it does not come with any regular expressions or something like that to validate any email or web url. You will have to find the regular expression on your own. A good website to to do that is
RegExLib. This Website already contains many pre-defined regular expressions. It also contains basics to learn regular expressions. Let's get back to the ErrorProvider. To implement the ErrorProvider in your project, just drop it in your form or double click it and you will see it below the form in a bar. Now each control on your form will get an extra property called:
Error on ErrorProvider1. You can set the default error message here if you want. If not you can leave it blank and in your code you can access the property via the method
SetError. Just define the message in the SetError method and it works. If an error occurs you won't get any MessageBox or the errormessage isn't displayed under the control. Instead you will see a small icon right from the control which will blink for a few times. If you then hover over the control, you will see the errormessage as a tooltip. Something like this:

You can even use your own icons for that.
Update: I just had a short IM conversation with
Christian Weyer and he told me that there aren't any validator controls for win forms. One way would be to use the
Validating event, but that's old school style and he hopes and actually thinks they will be there in 2.0. Microsoft don't disappoint me and Chris :-)
Sonu
Through joint efforts the XML Query and XSL Working Groups have released the First Public Working Draft of XQuery 1.0 and XPath 2.0 Full-Text. The use cases have been updated. The drafts define a language that extends XQuery and XPath to allow full-text searching of XML text and documents.
Read more here.
Sonu
More Posts
Next page »