Wiley Professional SQL Server 2005 XML 978-0-7645-9792-3 사용자 설명서

제품 코드
978-0-7645-9792-3
다운로드
페이지 12
What’s New in Ver sion 2.0 of
the .NET Framewor k for XML
You are probably saying to yourself, “Whoa, wait a minute, I thought this book was about XML
technology in SQL Server 2005.” Yes, that is true. So why start the book off with a chapter about
the XML technology found in version 2.0 of the .NET Framework?
Since the inception of the .NET Framework, Microsoft has taken a serious approach to supporting
XML, a fact proven by looking at the amount of functionality provided in the System.Xml names-
pace, a group of classes specifically designed for the reading, writing, and updating of XML. Even
in the first version of the .NET Framework, the support for XML was tremendous. The list of sup-
ported XML functionality included, but was not limited to, the following:
Integration with ADO.NET
Compliance with W3C standards
Data source querying (XQuery)
XML Schema support
Ease of use
Microsoft set out to create a technology that dealt with data access using XML. Users of
System.Xml in version 1.x of the .NET Framework agree that, on the whole, the technology con-
tained a great number of useful classes that made dealing with XML and its related technologies a
delight.
Even with all of the great advantages with version 1.1, it was not without its shortcomings. First
and foremost, performance was an issue. Because of the way XML is processed, any obstacle or
holdup in processing had a performance effect on the rest of the application. Security was another
issue. For example, in the XML 1.0 specification, no precaution was taken to secure XML, which
led to Denial of Service attacks via DTDs. Not good. The 
XmlTextReader
had its own problems in
that it could be subclassed and run in semitrusted code.
05_597922 ch01.qxp  12/3/05  12:26 AM  Page 3
COPYRIGHTED MATERIAL