Michael Rys

Musings on XML, XQuery and more...

<October 2008>
SuMoTuWeThFrSa
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678


Navigation

Papers

SQL Server XML Whitepapers

Weblogging Links

MS Bloggers

Recommended Books

Other Blogs

Recommended Links

Presentations (Upcoming)

Presentations (Recent)

Subscriptions

News


Upcoming Presentations


TechEd 2007, Orlando, June 4 to June 8, 2007


Books I co-authored



www.flickr.com
This is a Flickr badge showing public photos from Michael Rys. Make your own badge here.
eXTReMe Tracker

Post Categories

Article Categories



June CTP of SQL Server 2005 has been released: What's noteworthy in the XML area

As Paul Flessner publicly announced at his TechEd 2005 keynote, the world-wide RTM launch date has been set to the week of Nov 7th 2005 and the June community tech preview (CTP) of SQL Server 2005 has been released. Again, we have added improvements in stability, performance and scalability. And like for the previous CTPs, I have a list of some important changes in the XML area. Note that the release comes with a more general breaking changes list that you should take a look at as well.

Here is the list of changes that may affect existing usages of XML:

  • As previously discussed, the XML data type methods cannot be used directly in CHECK constraints anymore but need to be wrapped in a UDF
  • Whitespace parsing rules for attribute values have been fixed
  • Whitespace preservation measures in serialization: The last whitespace character in a preserved whitespace only text node will now always be entitized. This guarantees that replication and BCP out/in preserves the whitespace information. An option to not entitize it will be added in a future CTP.
  • Some more XQuery alignments were done: 
    Several string functions are now aligned to the July 2004 and later XQuery function and operator working drafts regarding their behaviour when the empty sequence () is passed:
    • fn:substring() returns the zero-length string ('') instead of () when any of the parameters is empty sequence. 
    • fn:string-length() returns 0 instead of () when empty sequence is being passed. 
    • fn:contains() treats () input as '' (the zero-length string).
  • replace value of with an empty sequence as the new value now raises a runtime error unless the empty value is given explicitly as (). This guarantees that empty sequences that are generated due to our mapping of XQuery runtime errors to the empty sequence will not accidentally overwrite values.
  • Additional XSD restrictions:
    We disallow xs:ID/xs:IDREF/xs:IDREFS types on elements. The semantics was not completely implemented in earlier CTP and Beta versions, so we decided to disable them in this release instead of giving incorrect behaviour.

In addition, we still have some additional work to get done regarding the above mentioned whitespace preservation options and some encoding issues in the upcoming CTPs. As always, please use the new CTP, and provide us feedback. We have done lots to improve performance and appreciate feedback on where you want us to continue to improve (even for after RTM :-)).

posted on Tuesday, June 07, 2005 11:23 AM by mrys


# June CTP of SQL Server 2005 has been released: What's noteworthy in the XML area @ Tuesday, June 07, 2005 12:23 PM

As Paul Flessner publicly announced at his TechEd 2005 keynote, the world-wide RTM launch date has been...

Anonymous

# Lots of .NET and SQL Server XML news today @ Tuesday, June 07, 2005 3:51 PM

It's been a busy news day!
First, there are some very interesting figures out comparing XML performance...

Anonymous

# XML related changes to the September CTP @ Monday, October 10, 2005 9:31 PM

While we are less than a month away from the official launch week of SQL Server 2005, I am still providing...

Anonymous




Powered by Dot Net Junkies, by Telligent Systems