While i'm was experimenting with Infopath and SQL Server 2005 ability to handle XML, i've found a not-expected behaviour (at least to me), that is better to explain a little bit so that no-one reading my blog will have the same problems.
The subject is datime and its XML representation. If you save a document with Infopath that contains date and time data you should have an output that is like the following:
<mtg:startDate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2005-09-26</mtg:startDate><mtg:startTime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">10:00:00</mtg:startTime><mtg:endDate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2005-09-26</mtg:endDate><mtg:endTime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">11:00:00</mtg:endTime>Which is perfectly correct and aderent to the XML Standard, but SQL Server 2005 won't let you use that document, compelling...