In the last entry I promised to share the answer to the XML puzzle today. Here's a quick recap of the question -
SQL 2005 BOL gives the following example of a full-text search XML thesaurus file:
<XML ID="Microsoft Search Thesaurus"> <thesaurus xmlns="x-schema:tsSchema.xml"> <diacritics = false/> <expansion> <sub>Internet Explorer</sub> <sub>IE</sub> <sub>IE5</sub> </expansion> <replacement> <pat>NT5</pat> <pat>W2K</pat> <sub>Windows 2000</sub> </replacement> <expansion> <sub>run</sub> <sub>jog</sub> </expansion> </thesaurus></XML>
According to the XML 1.0 Recommendation what are two things that are wrong with this file?
I said there were two things wrong with this XML document, but in fact I accepted any combination of any two of the following three issues:
I received several correct answers, but had to limit the contest to two correct answers selected at random: Darshan Singh and Saggi Neumann will both be receiving copies of the Apress book Pro SQL Server 2008 XML. Thanks to everyone who participated, and congratulations to the winners!