You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(174) |
Nov
(85) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(56) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(1) |
Jul
(132) |
Aug
(5) |
Sep
|
Oct
(314) |
Nov
(133) |
Dec
(18) |
2006 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Oleg T. <he...@us...> - 2004-11-09 12:23:23
|
Update of /cvsroot/mvp-xml/WebSite/xinclude In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21807/xinclude Modified Files: index.html Log Message: fixed documentation Index: index.html =================================================================== RCS file: /cvsroot/mvp-xml/WebSite/xinclude/index.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.html 1 Nov 2004 17:42:04 -0000 1.2 +++ index.html 9 Nov 2004 12:23:11 -0000 1.3 @@ -5,7 +5,8 @@ <link href="../style.css" type="text/css" rel="stylesheet"> </head> <body> -<h1>Mvp.Xml Project: XInclude.NET module (version 1.3)<br> +<h1><a class="mozTocH1" name="mozTocId507464"></a><a + href="../index.html">Mvp.Xml Project</a>: XInclude.NET module<br> </h1> The XInclude.NET module provides an implementation of the <a href="http://www.w3.org/TR/xinclude/">W3C XML Inclusions (XInclude)1.0 @@ -22,16 +23,41 @@ XPointer xpointer() Scheme</a> (XPath subset only). XInclude.NET currently supports only streamable subset of the XInclude, implemented as fast, non-caching, forward-only <span - style="font-family: monospace;">Mvp.Xml.XInclude.XIncludingReader</span> -class. + style="font-family: monospace;">XIncludingReader</span> +class found in the <span style="font-family: monospace;">Mvp.Xml.XInclude</span> +namespace. <br> <p>XInclude.NET has been thoroughly tested against <!--StartFragment --><a href="http://www.w3.org/XML/Test/XInclude/">The XInclude Test Suite</a> under -Microsoft .NET 1.0 and 1.1 on Windows 2000 and Windows Server 2003.</p> -<h2>Requirements</h2> +Microsoft .NET 1.0 and 1.1 on Windows 2000 and Windows Server 2003.<br> +</p> +<p style="font-weight: bold;">Contents:</p> + <ol> + <li><a href="#mozTocId537061">Requirements</a></li> + <li><a href="#mozTocId172804">Download</a></li> + <li><a href="#mozTocId593736">Installation and +Documentation</a></li> + <li><a href="#mozTocId209347">History</a></li> + <li><a href="#mozTocId156645">Usage</a></li> + <li><a href="#mozTocId795134">Custom XmlResolver</a></li> + <li><a href="#mozTocId893216">XPointer</a></li> + <li><a href="#mozTocId299036">Conformance Issues </a></li> + <li><a href="#mozTocId670936">License</a></li> + <li><a href="#mozTocId666501">Bug reports</a></li> + <li><a href="#mozTocId594662">Feedback</a></li> + </ol> +<h2><a class="mozTocH2" name="mozTocId537061"></a>1. Requirements</h2> <p>XInclude.NET is .NET Framework application and requires <a href="http://msdn.microsoft.com/netframework/" target="_top"> .NET -Framework</a> version 1.0 or 1.1 to be installed. </p> -<h2>Installation and Documentation</h2> +Framework</a> version 1.0 or 1.1 to be installed.<br> +</p> +<h2><a class="mozTocH2" name="mozTocId172804"></a>2. Download</h2> +Go to the <a + href="http://sourceforge.net/project/showfiles.php?group_id=102352">Downloads</a> +page. You can download XInclude.NET module separately (with no +dependencies on other modules) or as part of the Mvp.Xml library +release (all modules in one).<br> +<h2><a class="mozTocH2" name="mozTocId593736"></a>3. Installation and +Documentation</h2> <p>Find precompiled <font style="font-family: monospace;" face="Courier New">Mvp.Xml.XInclude.dll</font> library in the "<font style="font-family: monospace;" face="Courier New">bin</font>" @@ -39,12 +65,16 @@ face="Courier New">src</font>" directory contains XInclude.NET sources in Visual Studio <br> .NET 2003 solution form. The API documentation can be found in the "<span - style="font-family: monospace;">doc</span>" directory (online version) -(#TODO). Test cases can be found in the "<span + style="font-family: monospace;">doc</span>" directory (<a + href="../api/">online version</a>). Test cases can be found in the "<span style="font-family: monospace;">test</span>" directory.<br> -In addition to the API documentation, refer to the "<a +In addition to the <a href="../api/">API documentation</a>, refer to +the "<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/xinclude.asp">Combining -XML Documents with XInclude</a>" article at the MSDN and the normative +XML Documents with XInclude</a>" article at the MSDN, which introduces +XInclude itself and provides details on usage and internal +implementation of the <span style="font-family: monospace;">XIncludingReader</span> +class. Additionally don't forget the normative specs:<br> </p> <ul> @@ -59,12 +89,13 @@ <li><a href="http://www.w3.org/TR/xptr-xpointer/">XPointer xpointer() Scheme</a></li> </ul> -<p></p> -<h2>History</h2> +<h2><a class="mozTocH2" name="mozTocId209347"></a>4. History</h2> Done since 1.2 release:<br> <ul> - <li>The new home - Mvp.Xml project and so the new namespace - -Mvp.Xml.XInclude instead of GotDotNet.XInclude.<br> + <li>The new home - <a href="http://mvp-xml.sf.net/">Mvp.Xml project</a> +and so the new namespace - <a href="../api/Mvp.Xml.XInclude.html"><span + style="font-family: monospace;">Mvp.Xml.XInclude</span></a> instead of + <span style="font-family: monospace;">GotDotNet.XInclude</span>.<br> </li> <li>Upgraded to support the new XInclude Proposed Rec syntax and semantics.</li> @@ -72,11 +103,16 @@ </li> <li>Performance improvements - documents included via XPointer are now cached.</li> - <li>Memory footprint is minimized.<br> + <li>Memory footprint is significantly minimized by using <a + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlXPathXPathDocumentClassTopic.asp">XPathDocument</a> +instead of <a + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmldocumentclasstopic.asp">XmlDocument</a> +for XPointer evaluation.<br> </li> <li>A suite of unit tests has been added, including the W3C XInclude Test Suite.</li> - <li>As a sequence - lots of bugs and incompatibilities has been fixed.<br> + <li>As a sequence - lots of bugs and incompatibilities have been +fixed.<br> </li> </ul> Done since 1.1 release:<br> @@ -101,11 +137,13 @@ schemas</li> <li>Minor bug fixes</li> </ul> -<h2>Usage</h2> -<p><a - href="../../../../temp/XInclude.NET-1.2/doc/GotDotNet.XInclude.XIncludingReader.html">XIncludingReader</a> -(#TODO) -class, found in the Mvp.Xml.XInclude namespace (#TODO), is the key +<h2><a class="mozTocH2" name="mozTocId156645"></a>5. Usage<br> +</h2> +<p><a style="font-family: monospace;" + href="../api/Mvp.Xml.XInclude.XIncludingReader.html">XIncludingReader</a> +class, found in the <a href="../api/Mvp.Xml.XInclude.html"><span + style="font-family: monospace;">Mvp.Xml.XInclude</span></a> namespace, +is the key class. It's customized <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemXmlXmlReaderClassTopic.asp"> XmlReader</a>, which implements streamable subset of the XInclude and @@ -120,10 +158,10 @@ in many different situations, e.g. before or after validation, before or after building XmlDocument or XPathDocument. Here are some obvious usage scenarios:</p> -<p>XML inclusion during reading XML:</p> +<p>XML inclusion during XML reading:</p> <p><code></code></p> <pre>XmlReader reader = new XIncludingReader("source.xml");<br>while (reader.Read()) {<br> ... <br> </pre> -<p>XML inclusion while building XmlDocument:</p> +<p>XML inclusion while building <span style="font-family: monospace;">XmlDocument</span>:</p> <p><code></code></p> <pre>XmlReader reader = new XIncludingReader(new XmlTextReader("source.xml"));<br>XmlDocument doc = new XmlDocument(); <br>doc.Load(reader);<br>... <br> </pre> <p>XML inclusion before an XSL Transformation:</p> @@ -131,67 +169,101 @@ <pre>XslTransform xslt = new XslTransform();<br>xslt.Load("stylesheet.xsl");<br>XmlReader reader = new XIncludingReader("source.xml");<br>XPathDocument xdoc = new XPathDocument(reader);<br>xslt.Transform(xdoc, null, new StreamWriter("result.xml"));<br>...</pre> <p>Find more examples and test cases in the "<font style="font-family: monospace;" face="Courier New">test</font>" -directory.</p> -<h2>Custom XmlResolver</h2> +directory.<br> +</p> +<p style="margin-left: 40px;"><span style="font-weight: bold;">Note</span>: +When using XInclude with XSLT, take a look at the <a + href="http://tkachenko.com/dotnet/nxslt.html">nxslt.exe</a> - +feature-rich .NET XSLT command line utility, which supports XInclude +via the XInclude.NET module.<br> +</p> +<h2><a class="mozTocH2" name="mozTocId795134"></a>6. Custom XmlResolver</h2> <p><span style="font-family: monospace;">XIncludingReader</span> -supports custom URI resolving. Just set your <span - style="font-family: monospace;">XmlResolver</span> object to the <span - style="font-family: monospace;">XmlResolver</span> property of the <span - style="font-family: monospace;">XIncludingReader</span>. <span +supports custom URI resolving. This way one can include XML documents +from a variety of sources, such as RDBMS or even generated on-the-fly. +Find a sample of inlcuding XML data from SQL Server <a + href="http://www.tkachenko.com/blog/archives/000105.html">here</a>.<br> +Just set your <span style="font-family: monospace;">XmlResolver</span> +object to the <a + href="../api/Mvp.Xml.XInclude.XIncludingReader.XmlResolver.html"><span + style="font-family: monospace;">XmlResolver</span> property</a> of the +<span style="font-family: monospace;">XIncludingReader</span>. <span style="font-family: monospace;">XIncludingReader</span> will call <span style="font-family: monospace;">ResolveUri()</span> and <span style="font-family: monospace;">GetEntity()</span> methods of your resolver when fetching a resource by URI referenced in "<span style="font-family: monospace;">href</span>" attribute of an <span style="font-family: monospace;">xi:include</span> element. A custom <span - style="font-family: monospace;">XmlResolver</span> must return either <span - style="font-family: monospace;">System.IO.Stream</span> or <span - style="font-family: monospace;">System.Xml.XmlReader</span> from the <span - style="font-family: monospace;">GetEntity()</span> method.</p> -<h2>XPointer</h2> -<p>XInclude.NET implements<!--StartFragment --> <a - href="http://www.w3.org/TR/xptr-framework/">XPointer Framework</a>,<!--StartFragment --> + style="font-family: monospace;">XmlResolver</span> must return either <a + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemiostreamclasstopic.asp"><span + style="font-family: monospace;">System.IO.Stream</span></a> or <span + style="font-family: monospace;"><a + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemiotextreaderclasstopic.asp">System.IO.TextReader</a> +or <a + href="http://msdn.microsoft.com/library/dotnet/cpref/frlrfsystemxmlxmlreaderclasstopic.htm">System.Xml.XmlReader</a></span> +from the <span style="font-family: monospace;">GetEntity()</span> +method.</p> +<h2><a class="mozTocH2" name="mozTocId893216"></a>7. XPointer</h2> +<p>XInclude.NET includes <a href="../xpointer/">XPointer.NET</a> +module, which implements <a href="http://www.w3.org/TR/xptr-framework/">XPointer +Framework</a><!--StartFragment -->, <a href="http://www.w3.org/TR/xptr-element/">XPointer element() Scheme</a>, <!--StartFragment --><a href="http://www.w3.org/TR/xptr-xmlns/">XPointer -xmlns() Scheme</a>,<!--StartFragment --> <a +xmlns() Scheme</a><!--StartFragment -->, <a href="http://www.simonstl.com/ietf/draft-stlaurent-xpath-frag-00.html">The XPointer xpath1() Scheme</a> and <a href="http://www.w3.org/TR/xptr-xpointer/"> XPointer xpointer() Scheme</a> (XPath subset only). </p> -<p><a - href="../../../../temp/XInclude.NET-1.2/doc/GotDotNet.XPointer.XPointerReader.html">XPointerReader</a> -class (#TODO), found in <span style="text-decoration: underline;">Mvp.Xml.</span><a - href="../../../../temp/XInclude.NET-1.2/doc/GotDotNet.XPointer.html">XPointer -namespace</a> (#TODO) represents XPointer-aware XmlReader and can -be used as such outside of XInclude context too.</p> -<h2>Conformance Issues<br> +<p><a href="../api/Mvp.Xml.XPointer.XPointerReader.html">XPointerReader</a> +class, found in the <a href="../api/Mvp.Xml.XPointer.html"><span + style="text-decoration: underline;">Mvp.Xml.</span></a><a + href="../api/Mvp.Xml.XPointer.html">XPointer +namespace</a> represents XPointer-aware XmlReader and can +be used as such outside of XInclude context too.<br> +Find more info at the <a href="../xpointer/">XPointer.NET</a> module +homepage.<br> +</p> +<h2><a class="mozTocH2" name="mozTocId299036"></a>8. Conformance Issues<br> </h2> <ol> - <li>Only streamable subset of XInclude is supported - intra-document -references are not supported.</li> - <li>Syntactically incorrect URI references are treated as resource -error.<br> + <li><span style="font-family: monospace;">XIncludingReader</span> +class only implenments the <a + href="http://www.w3.org/TR/2004/PR-xinclude-20040930/#include-location">streamable +subset</a> of XInclude - intra-document +references are not supported. That means <span + style="font-family: monospace;">XIncludingReader</span> treats absence +of an "<span style="font-family: monospace;">href</span>" attribute on +an <span style="font-family: monospace;">xi:include</span> element as <a + href="http://www.w3.org/TR/2004/PR-xinclude-20040930/#dt-resource-error">XInclude +resource error</a>.<br> + </li> + <li>Syntactically incorrect URI references are treated as <a + href="http://www.w3.org/TR/2004/PR-xinclude-20040930/#dt-resource-error">XInclude +resource +error</a>.</li> + <li>Only XPath subset of the <a + href="http://www.w3.org/TR/xptr-xpointer/">xpointer() XPointer Scheme</a> +is supported.<br> </li> </ol> -<h2>License</h2> -<p>XInclude.NET as part of the Mvp.Xml project is subject to the <a - href="../license.html">Common +<h2><a class="mozTocH2" name="mozTocId670936"></a>9. License</h2> +<p>XInclude.NET as part of the <a href="http://mvp-xml.sf.net/">Mvp.Xml +project</a> is subject to the <a href="../license.html">Common Public License</a> - <a href="http://www.opensource.org/licenses/index.php">OSI approved</a> -free open-source license.<a - href="http://gotdotnet.com/Community/Workspaces/License.aspx?id=cab253e8-cb4b-47c4-a9d9-6c42947b04a8"></a> +free open-source license. It's distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</p> -<h2>Bug reports</h2> +<h2><a class="mozTocH2" name="mozTocId666501"></a>10. Bug reports</h2> <p>Please feel free to report any bugs to the Mvp.Xml project's <a href="http://sourceforge.net/tracker/?group_id=102352&atid=633328"> Bug Tracker</a>. Feature requests are also <a href="http://sourceforge.net/tracker/?group_id=102352&atid=633331">welcome</a>.<br> </p> -<h2>Feedback</h2> +<h2><a class="mozTocH2" name="mozTocId594662"></a>11. Feedback</h2> <p>We appreciate any kind of feedback, feel free to post any questions or comments about XInclude.NET and Mvp.Xml project in general in the <a |
From: Oleg T. <he...@us...> - 2004-11-09 12:23:23
|
Update of /cvsroot/mvp-xml/WebSite/xpointer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21807/xpointer Modified Files: index.html Log Message: fixed documentation Index: index.html =================================================================== RCS file: /cvsroot/mvp-xml/WebSite/xpointer/index.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.html 1 Nov 2004 17:42:04 -0000 1.2 +++ index.html 9 Nov 2004 12:23:12 -0000 1.3 @@ -1,11 +1,11 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> - <title>Mvp.Xml project: Common module</title> + <title>Mvp.Xml project: XPointer.NET module</title> <link href="../style.css" type="text/css" rel="stylesheet"> </head> <body> -<h1>Mvp.Xml Project: XPointer.NET module (version 1.3)<br> +<h1><a href="../index.html">Mvp.Xml Project</a>: XPointer.NET module<br> </h1> The XPointer.NET module provides an implementation of the <a href="http://www.w3.org/TR/xptr-framework/">XPointer Framework @@ -18,12 +18,20 @@ XPointer xpath1() Scheme</a> and <a href="http://www.w3.org/TR/xptr-xpointer/"> XPointer xpointer() Scheme</a> (XPath subset only). XPointer.NET was -designed and implemented for XInclude.NET module, but it can be used on +designed and implemented for the <a href="../xinclude/">XInclude.NET +module</a>, but it can be used on its own.<br> <h2>Requirements</h2> <p>XPointer.NET is .NET Framework application and requires <a href="http://msdn.microsoft.com/netframework/" target="_top"> .NET -Framework</a> version 1.0 or 1.1 to be installed. </p> +Framework</a> version 1.0 or 1.1 to be installed.<br> +</p> +<h2>Download</h2> +Go to the <a + href="http://sourceforge.net/project/showfiles.php?group_id=102352">Downloads</a> +page. You can download XPointer.NET module separately (with no +dependencies on other modules) or as part of the Mvp.Xml library +release (all modules in one). <h2>Installation and Documentation</h2> <p>Find precompiled <font style="font-family: monospace;" face="Courier New">Mvp.Xml.XPointer.dll</font> library in the "<font @@ -32,12 +40,16 @@ face="Courier New">src</font>" directory contains XPointer.NET sources in Visual Studio <br> .NET 2003 solution form. The API documentation can be found in the "<span - style="font-family: monospace;">doc</span>" directory (online version) -(#TODO). Test cases can be found in the "<span - style="font-family: monospace;">test</span>" directory.<br> + style="font-family: monospace;">doc</span>" directory (<a + href="../api/">online version</a>). Samples and test cases can be +found in the "<span style="font-family: monospace;">test</span>" +directory.<br> In addition to the API documentation, refer to the "<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/xinclude.asp">Combining -XML Documents with XInclude</a>" article at the MSDN and the normative +XML Documents with XInclude</a>" article at the MSDN, which introduces +XPointer itself and provides details on usage and implementation of the +XPointer.NET module<span style="font-family: monospace;"></span>. +Additionally doen't forget the normative specs:<br> </p> <ul> @@ -53,19 +65,24 @@ <h2>History</h2> Done since 1.2 release:<br> <ul> - <li>The new home - Mvp.Xml project and so the new namespace - -Mvp.Xml.XPointer instead of GotDotNet.XPointer.<br> + <li>The new home - <a href="http://mvp-xml.sf.net/">Mvp.Xml project</a> +and so the new namespace - + <a + href="file:///D:/projects/Mvp.Xml/WebSite/api/Mvp.Xml.XPointer.html">Mvp.Xml.XPointer</a> +instead of GotDotNet.XPointer.</li> + <li>Performance improvements - documents processed are +now cached, all XPath expressions used internally are compiled and +cached via the <a href="../api/Mvp.Xml.Common.XPath.XPathCache.html">Mvp.Xml.Common.XPath.XPathCache</a> +class.<br> </li> - <li>Performance improvements - documents included via XPointer are -now cached.</li> - <li>Memory footprint is minimized.</li> + <></> <li>Memory footprint is minimized.</li> <li>XPointer Framework syntax erorrs are now throw exceptions.<br> </li> </ul> <h2>Usage</h2> -<a - href="../../../../temp/XInclude.NET-1.2/doc/GotDotNet.XInclude.XIncludingReader.html">XPointerReader</a> -class (#TODO), found in the Mvp.Xml.XPointer namespace (#TODO), is the +<a href="../api/Mvp.Xml.XPointer.XPointerReader.html">XPointerReader</a> +class, found in the <a href="../api/Mvp.Xml.XPointer.html">Mvp.Xml.XPointer +namespace</a>, is the key class. It's customized <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemXmlXmlReaderClassTopic.asp"> @@ -80,11 +97,90 @@ XPointer xpointer() Scheme</a> (XPath subset only) in a caching forward-only fashion.<br> <br> -[#TODO samples] <br> +Usage samples:<br> <br> -Find more examples and test cases in the "<font - style="font-family: monospace;" face="Courier New">test</font>" -directory.<br> +1. Basic identifying of subresources using XPointer: +<br> +<span style="font-family: monospace;">XPointerReader r = </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> new +XPointerReader("books.xml", +"xpointer(//book)"); +</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">while (r.Read()) </span><span + style="font-family: monospace;"></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +Console.WriteLine(r.ReadOuterXml());</span><span + style="font-family: monospace;"></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">r.Close();</span><br> +<br> +2. Running <span style="font-family: monospace;">XPointerReader</span> +on an in-memory XML store:<br> +<br> +<span style="font-family: monospace;">XPathDocument doc = new +XPathDocument("books.xml");</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">XPointerReader r = </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> new +XPointerReader(doc, +"xpointer(//book)"); +</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">while (r.Read()) </span><span + style="font-family: monospace;"></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +Console.WriteLine(r.ReadOuterXml());</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"></span><span + style="font-family: monospace;">r.Close();</span><br> +<br> +or <br> +<br> +<span style="font-family: monospace;">XmlDocument doc = new +XmlDocument();</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">doc.Load("books.xml");</span><br> +<span style="font-family: monospace;">XPointerReader r = </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> new +XPointerReader(doc, +"xpointer(//book)"); +</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">while (r.Read()) </span><span + style="font-family: monospace;"></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +Console.WriteLine(r.ReadOuterXml());</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"></span><span + style="font-family: monospace;">r.Close();</span><br> +<br> +3. When running <span style="font-family: monospace;">XPointerReader</span> +on <span style="font-family: monospace;">XPathDocument </span>or <span + style="font-family: monospace;">XmlDocument</span>, you can get +underlying <span style="font-family: monospace;">XPathNavigator</span> +via <span style="font-family: monospace;">IHasXPathNavigator</span> +interface:<br> +<span style="font-family: monospace;">XPathNavigator nav = +((IHasXPathNavigator)reader).GetNavigator();</span><br> +<br> +4. Namespace-aware XPointers:<br> +<span style="font-family: monospace;">XPointerReader r = </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> new +XPointerReader("books.xml", +"xmlns(bk=http://books.com)xpointer(//bk:book)");</span><br> +<br> +5. Fallback-like XPointers. Recall that XPointer can consist of a +several pointer parts, which are evaluated in turn until one identifies +any subresource. That property can be used to create more reliable +XPointers:<br> +<span style="font-family: monospace;">XPointerReader r = </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> new +XPointerReader("books.xml", +"element(bk101)xpointer(//book[@id='bk101'])");</span><br> <h2>Conformance Issues<br> </h2> <ol> @@ -93,8 +189,8 @@ XPointer xpointer() Scheme</a> is currently supported. </li> </ol> <h2>License</h2> -<p>XPointer.NET as part of the Mvp.Xml project is subject to the <a - href="../license.html">Common +<p>XPointer.NET as part of the <a href="http://mvp-xml.sf.net/">Mvp.Xml +project</a> is subject to the <a href="../license.html">Common Public License</a> - <a href="http://www.opensource.org/licenses/index.php">OSI approved</a> free open-source license. @@ -115,7 +211,7 @@ the <a href="https://lists.sourceforge.net/mailman/listinfo/mvp-xml-help">mvp-xml-help</a> mailing list <a - href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(archive)</a>. + href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(archive)</a>.<br> </p> <hr style="width: 100%; height: 2px;"> <p> The project is hosted at <a target="_blank" |
From: Oleg T. <he...@us...> - 2004-11-09 12:23:19
|
Update of /cvsroot/mvp-xml/WebSite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21807 Modified Files: index.html Log Message: fixed documentation Index: index.html =================================================================== RCS file: /cvsroot/mvp-xml/WebSite/index.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- index.html 3 Nov 2004 12:59:55 -0000 1.7 +++ index.html 9 Nov 2004 12:23:11 -0000 1.8 @@ -5,7 +5,7 @@ <link href="style.css" type="text/css" rel="stylesheet"> </head> <body> -<h1>Mvp.Xml Project</h1> +<h1><a class="mozTocH1" name="mozTocId838640"></a>Mvp.Xml Project</h1> <p> This project is developed by <a target="_blank" href="http://www.microsoft.com/communities/mvp/mvp.mspx"> Microsoft MVPs</a> in <a target="_blank" @@ -23,7 +23,18 @@ href="http://www.google.com/search?q=%22what+is+a+weblog%22"> weblog</a> posts. All the project's classes contain extensive tests to ensure its quality, as well as the peer review among this highly focused group of -XML lovers. </p> +XML lovers.</p> +<p><span style="font-weight: bold;">Contents</span>:<br> +</p> +<ol> + <li><a href="#mozTocId408130">Modules </a></li> + <li><a href="#mozTocId421746">News</a></li> + <li><a href="#mozTocId58451">Get Support</a></li> + <li><a href="#mozTocId610253">Downloads</a></li> + <li><a href="#mozTocId620586">License</a></li> +</ol> +<h2><a class="mozTocH2" name="mozTocId408130"></a>1. Modules<br> +</h2> <p>The Mvp.Xml project consists of several modules listed below.<br> </p> <ul> @@ -32,7 +43,7 @@ </li> <li><a href="xpointer/index.html">XPointer.NET</a> module</li> </ul> -<h2>News</h2> +<h2><a class="mozTocH2" name="mozTocId421746"></a>2. News</h2> Mvp.Xml News: <a href="http://sourceforge.net/export/rss2_projnews.php?group_id=102352&rss_fulltext=1"><img alt="Mvp.Xml project news feed" @@ -48,7 +59,7 @@ View <a href="http://sourceforge.net/export/rss2_project.php?group_id=102352">full list</a> of the Mvp.Xml project's RSS feeds.<br> -<h2>Get Support</h2> +<h2><a class="mozTocH2" name="mozTocId58451"></a>3. Get Support</h2> There are several ways to get support on using Mvp.Xml project's classes:<br> <ol> @@ -63,15 +74,16 @@ href="http://sourceforge.net/tracker/?group_id=102352&atid=633331">Feature Requests</a>.</li> <li>Browse <a href="http://cvs.sourceforge.net/viewcvs.py/mvp-xml">CVS -repository online</a>.<br> +repository online</a>.</li> + <li>Online <a href="api/index.html">API documentation</a>.<br> </li> </ol> -<h2>Downloads</h2> +<h2><a class="mozTocH2" name="mozTocId610253"></a>4. Downloads</h2> Go to the <a href="http://sourceforge.net/project/showfiles.php?group_id=102352">Downloads</a> page. You can download Mvp.Xml release as a whole (all modules in one archive) or releases for separate modules.<br> -<h2>License</h2> +<h2><a class="mozTocH2" name="mozTocId620586"></a>5. License</h2> The Mvp.Xml project is subject to the <a href="license.html">Common Public License</a> - <a href="http://www.opensource.org/licenses/index.php">OSI approved</a> |
From: Oleg T. <he...@us...> - 2004-11-09 12:22:29
|
Update of /cvsroot/mvp-xml/Global/v1/XPointer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21593/v1/XPointer Added Files: .cvsignore Log Message: Global project --- NEW FILE: .cvsignore --- bin obj *.user *.suo |
From: Oleg T. <he...@us...> - 2004-11-09 12:22:28
|
Update of /cvsroot/mvp-xml/Global/v1/Common/XPath In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21593/v1/Common/XPath Added Files: .cvsignore Log Message: Global project --- NEW FILE: .cvsignore --- bin obj *.user *.suo |
From: Oleg T. <he...@us...> - 2004-11-09 12:22:28
|
Update of /cvsroot/mvp-xml/Global/v1/XInclude In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21593/v1/XInclude Added Files: .cvsignore Log Message: Global project --- NEW FILE: .cvsignore --- bin obj *.user *.suo |
From: Oleg T. <he...@us...> - 2004-11-09 12:22:28
|
Update of /cvsroot/mvp-xml/Global/v1/Common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21593/v1/Common Added Files: .cvsignore Log Message: Global project --- NEW FILE: .cvsignore --- bin obj *.user *.suo |
From: Oleg T. <he...@us...> - 2004-11-09 12:20:50
|
Update of /cvsroot/mvp-xml/Global/v1/Common/XPath In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21266/XPath Log Message: Directory /cvsroot/mvp-xml/Global/v1/Common/XPath added to the repository |
From: Oleg T. <he...@us...> - 2004-11-09 12:20:33
|
Update of /cvsroot/mvp-xml/Global/v1/XInclude In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21173/XInclude Log Message: Directory /cvsroot/mvp-xml/Global/v1/XInclude added to the repository |
From: Oleg T. <he...@us...> - 2004-11-09 12:20:33
|
Update of /cvsroot/mvp-xml/Global/v1/XPointer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21173/XPointer Log Message: Directory /cvsroot/mvp-xml/Global/v1/XPointer added to the repository |
From: Oleg T. <he...@us...> - 2004-11-09 12:20:33
|
Update of /cvsroot/mvp-xml/Global/v1/Common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21173/Common Log Message: Directory /cvsroot/mvp-xml/Global/v1/Common added to the repository |
From: Oleg T. <he...@us...> - 2004-11-09 12:18:47
|
Update of /cvsroot/mvp-xml/Global/v1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20777/v1 Added Files: .cvsignore Global.csproj Global.csproj.user Log Message: Global project --- NEW FILE: .cvsignore --- bin obj *.user *.suo --- NEW FILE: Global.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{D3AD8F3D-45E3-48C2-99CC-965D8CDF2738}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "Mvp.Xml" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "Mvp.Xml" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "bin\Debug\Mvp.Xml.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> </References> </Build> <Files> <Include> <File RelPath = "Common\SR.cs" Link = "..\..\Common\v1\src\SR.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\SR.resx" Link = "..\..\Common\v1\src\SR.resx" DependentUpon = "SR.cs" BuildAction = "EmbeddedResource" /> <File RelPath = "Common\XmlBaseAwareXmlTextReader.cs" Link = "..\..\Common\v1\src\XmlBaseAwareXmlTextReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlFirstLowerWriter.cs" Link = "..\..\Common\v1\src\XmlFirstLowerWriter.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlFirstUpperReader.cs" Link = "..\..\Common\v1\src\XmlFirstUpperReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlFragmentStream.cs" Link = "..\..\Common\v1\src\XmlFragmentStream.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlNamespaces.cs" Link = "..\..\Common\v1\src\XmlNamespaces.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlNodeFactory.cs" Link = "..\..\Common\v1\src\XmlNodeFactory.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlNodeListFactory.cs" Link = "..\..\Common\v1\src\XmlNodeListFactory.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlParsedWriter.cs" Link = "..\..\Common\v1\src\XmlParsedWriter.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlPrefix.cs" Link = "..\..\Common\v1\src\XmlPrefix.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XmlTransformingReader.cs" Link = "..\..\Common\v1\src\XmlTransformingReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\DynamicContext.cs" Link = "..\..\Common\v1\src\XPath\DynamicContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\IHasXPathNavigator.cs" Link = "..\..\Common\v1\src\XPath\IHasXPathNavigator.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\IndexingXPathNavigator.cs" Link = "..\..\Common\v1\src\XPath\IndexingXPathNavigator.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\SubtreeeXPathNavigator.cs" Link = "..\..\Common\v1\src\XPath\SubtreeeXPathNavigator.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\XmlNodeNavigator.cs" Link = "..\..\Common\v1\src\XPath\XmlNodeNavigator.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\XPathCache.cs" Link = "..\..\Common\v1\src\XPath\XPathCache.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\XPathIteratorReader.cs" Link = "..\..\Common\v1\src\XPath\XPathIteratorReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\XPathNavigatorIterator.cs" Link = "..\..\Common\v1\src\XPath\XPathNavigatorIterator.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\XPathNavigatorReader.cs" Link = "..\..\Common\v1\src\XPath\XPathNavigatorReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Common\XPath\XPathVariable.cs" Link = "..\..\Common\v1\src\XPath\XPathVariable.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XInclude\SR.cs" Link = "..\..\XInclude\v1\src\SR.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XInclude\SR.resx" Link = "..\..\XInclude\v1\src\SR.resx" DependentUpon = "SR.cs" BuildAction = "EmbeddedResource" /> <File RelPath = "XInclude\TextIncludingReader.cs" Link = "..\..\XInclude\v1\src\TextIncludingReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XInclude\TextUtils.cs" Link = "..\..\XInclude\v1\src\TextUtils.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XInclude\XIncludeException.cs" Link = "..\..\XInclude\v1\src\XIncludeException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XInclude\XIncludeKeywords.cs" Link = "..\..\XInclude\v1\src\XIncludeKeywords.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XInclude\XIncludingReader.cs" Link = "..\..\XInclude\v1\src\XIncludingReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XInclude\XIncludingReaderState.cs" Link = "..\..\XInclude\v1\src\XIncludingReaderState.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\ElementSchemaPointerPart.cs" Link = "..\..\XPointer\v1\src\ElementSchemaPointerPart.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\IDAssuredValidatingReader.cs" Link = "..\..\XPointer\v1\src\IDAssuredValidatingReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\LexUtils.cs" Link = "..\..\XPointer\v1\src\LexUtils.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\Pointer.cs" Link = "..\..\XPointer\v1\src\Pointer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\PointerPart.cs" Link = "..\..\XPointer\v1\src\PointerPart.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\SchemaBasedPointer.cs" Link = "..\..\XPointer\v1\src\SchemaBasedPointer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\ShorthandPointer.cs" Link = "..\..\XPointer\v1\src\ShorthandPointer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\SR.cs" Link = "..\..\XPointer\v1\src\SR.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\SR.resx" Link = "..\..\XPointer\v1\src\SR.resx" DependentUpon = "SR.cs" BuildAction = "EmbeddedResource" /> <File RelPath = "XPointer\XmlnsSchemaPointerPart.cs" Link = "..\..\XPointer\v1\src\XmlnsSchemaPointerPart.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\XPath1SchemaPointerPart.cs" Link = "..\..\XPointer\v1\src\XPath1SchemaPointerPart.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\XPointerException.cs" Link = "..\..\XPointer\v1\src\XPointerException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\XPointerLexer.cs" Link = "..\..\XPointer\v1\src\XPointerLexer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\XPointerParser.cs" Link = "..\..\XPointer\v1\src\XPointerParser.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\XPointerReader.cs" Link = "..\..\XPointer\v1\src\XPointerReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\XPointerSchema.cs" Link = "..\..\XPointer\v1\src\XPointerSchema.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "XPointer\XPointerSchemaPointerPart.cs" Link = "..\..\XPointer\v1\src\XPointerSchemaPointerPart.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> --- NEW FILE: Global.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "true" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "true" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
From: Oleg T. <he...@us...> - 2004-11-09 12:17:16
|
Update of /cvsroot/mvp-xml/Global/v1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20534/v1 Log Message: Directory /cvsroot/mvp-xml/Global/v1 added to the repository |
From: Oleg T. <he...@us...> - 2004-11-09 12:16:19
|
Update of /cvsroot/mvp-xml/Global In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20264 Modified Files: Global.ndoc Mvp.Xml.sln Log Message: Global project Index: Mvp.Xml.sln =================================================================== RCS file: /cvsroot/mvp-xml/Global/Mvp.Xml.sln,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Mvp.Xml.sln 29 Sep 2004 11:48:16 -0000 1.1 +++ Mvp.Xml.sln 9 Nov 2004 12:16:10 -0000 1.2 @@ -23,6 +23,10 @@ ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Global", "v1\Global.csproj", "{D3AD8F3D-45E3-48C2-99CC-965D8CDF2738}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug @@ -53,6 +57,10 @@ {79267547-881D-45DA-90B7-17CAC2EE8814}.Debug.Build.0 = Debug|.NET {79267547-881D-45DA-90B7-17CAC2EE8814}.Release.ActiveCfg = Release|.NET {79267547-881D-45DA-90B7-17CAC2EE8814}.Release.Build.0 = Release|.NET + {D3AD8F3D-45E3-48C2-99CC-965D8CDF2738}.Debug.ActiveCfg = Debug|.NET + {D3AD8F3D-45E3-48C2-99CC-965D8CDF2738}.Debug.Build.0 = Debug|.NET + {D3AD8F3D-45E3-48C2-99CC-965D8CDF2738}.Release.ActiveCfg = Release|.NET + {D3AD8F3D-45E3-48C2-99CC-965D8CDF2738}.Release.Build.0 = Release|.NET EndGlobalSection GlobalSection(SolutionItems) = postSolution license.txt = license.txt Index: Global.ndoc =================================================================== RCS file: /cvsroot/mvp-xml/Global/Global.ndoc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Global.ndoc 7 Nov 2004 16:44:07 -0000 1.1 +++ Global.ndoc 9 Nov 2004 12:16:10 -0000 1.2 @@ -1,12 +1,12 @@ <project SchemaVersion="1.3"> <assemblies> - <assembly location="..\XInclude\v1\src\bin\Debug\Mvp.Xml.XInclude.dll" documentation="..\XInclude\v1\src\bin\Debug\Mvp.Xml.XInclude.xml" /> - <assembly location="..\Common\v1\src\bin\Debug\Mvp.Xml.Common.dll" documentation="..\Common\v1\src\bin\Debug\Mvp.Xml.Common.xml" /> - <assembly location="..\XPointer\v1\src\bin\Debug\Mvp.Xml.XPointer.dll" documentation="..\XPointer\v1\src\bin\Debug\Mvp.Xml.XPointer.xml" /> + <assembly location=".\v1\bin\Debug\Mvp.Xml.dll" documentation=".\v1\bin\Debug\Mvp.Xml.xml" /> </assemblies> <documenters> <documenter name="JavaDoc"> - <property name="OutputDirectory" value=".\doc\" /> + <property name="Title" value="Mvp.Xml API Documentation" /> + <property name="OutputDirectory" value="D:\projects\Mvp.Xml\WebSite\api\" /> + <property name="CleanIntermediates" value="True" /> </documenter> <documenter name="LaTeX"> <property name="OutputDirectory" value=".\doc\" /> @@ -20,12 +20,13 @@ <property name="Title" value="An NDoc Documented Class Library" /> </documenter> <documenter name="MSDN"> - <property name="OutputDirectory" value="D:\projects\Mvp.Xml\Global\v1\doc\" /> + <property name="OutputDirectory" value="D:\projects\Mvp.Xml\WebSite\api\" /> <property name="HtmlHelpName" value="Mvp.Xml API Documentation" /> <property name="Title" value="Mvp.Xml API Documentation" /> <property name="OutputTarget" value="Web" /> <property name="SdkLinksOnWeb" value="True" /> <property name="FooterHtml" value="
" /> + <property name="IncludeAssemblyVersion" value="True" /> </documenter> <documenter name="VS.NET 2003"> <property name="OutputDirectory" value=".\doc\" /> |
From: Oleg T. <he...@us...> - 2004-11-08 18:09:38
|
Update of /cvsroot/mvp-xml/XPointer/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18930/v1/src Modified Files: XPointerReader.cs Log Message: Added more constructors. Index: XPointerReader.cs =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/XPointerReader.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- XPointerReader.cs 7 Nov 2004 16:47:53 -0000 1.10 +++ XPointerReader.cs 8 Nov 2004 18:09:14 -0000 1.11 @@ -98,32 +98,51 @@ { Init(nav, xpointer); } + + /// <summary> + /// Creates <c>XPointerReader</c> instance with given uri and xpointer. + /// </summary> + public XPointerReader(string uri, string xpointer) + : this (new XmlTextReader(uri), xpointer, false) {} + + /// <summary> + /// Creates <c>XPointerReader</c> instance with given uri, nametable and xpointer. + /// </summary> + public XPointerReader(string uri, XmlNameTable nt, string xpointer) + : this (new XmlTextReader(uri, nt), xpointer, false) {} + + /// <summary> + /// Creates <c>XPointerReader</c> instance with given uri, nametable and xpointer. + /// Additionally sets a flag whether to support schema-determined IDs. + /// </summary> + public XPointerReader(string uri, XmlNameTable nt, string xpointer, bool supportSchemaDeterminedIDs) + : this (new XmlTextReader(uri, nt), xpointer, supportSchemaDeterminedIDs) {} /// <summary> /// Creates <c>XPointerReader</c> instance with given uri, stream, nametable and xpointer. /// </summary> - public XPointerReader(Uri uri, Stream stream, XmlNameTable nt, string xpointer) + public XPointerReader(string uri, Stream stream, XmlNameTable nt, string xpointer) : this (uri, stream, nt, xpointer, false) {} /// <summary> /// Creates <c>XPointerReader</c> instance with given uri, stream, nametable and xpointer. /// Additionally sets a flag whether to support schema-determined IDs. /// </summary> - public XPointerReader(Uri uri, Stream stream, XmlNameTable nt, string xpointer, + public XPointerReader(string uri, Stream stream, XmlNameTable nt, string xpointer, bool supportSchemaDeterminedIDs) - : this (new XmlTextReader(uri.AbsoluteUri, stream, nt), xpointer, supportSchemaDeterminedIDs) {} + : this (new XmlTextReader(uri, stream, nt), xpointer, supportSchemaDeterminedIDs) {} /// <summary> /// Creates <c>XPointerReader</c> instance with given uri, stream and xpointer. /// </summary> - public XPointerReader(Uri uri, Stream stream, string xpointer) + public XPointerReader(string uri, Stream stream, string xpointer) : this (uri, stream, new NameTable(), xpointer) {} /// <summary> /// Creates <c>XPointerReader</c> instance with given uri, stream and xpointer. /// Additionally sets a flag whether to support schema-determined IDs. /// </summary> - public XPointerReader(Uri uri, Stream stream, string xpointer, + public XPointerReader(string uri, Stream stream, string xpointer, bool supportSchemaDeterminedIDs) : this (uri, stream, new NameTable(), xpointer, supportSchemaDeterminedIDs) {} |
From: Oleg T. <he...@us...> - 2004-11-08 18:08:04
|
Update of /cvsroot/mvp-xml/Common/v1/src/XPath In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18718/v1/src/XPath Modified Files: IHasXPathNavigator.cs Log Message: Made IHasXPathNavigator public. Index: IHasXPathNavigator.cs =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/XPath/IHasXPathNavigator.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- IHasXPathNavigator.cs 28 Oct 2004 18:20:19 -0000 1.1 +++ IHasXPathNavigator.cs 8 Nov 2004 18:07:55 -0000 1.2 @@ -9,7 +9,7 @@ /// <summary> /// Enables a class to return an XPathNavigator from the current context or position. /// </summary> - interface IHasXPathNavigator + public interface IHasXPathNavigator { /// <summary> /// Returns the XPathNavigator for the current context or position. |
From: Oleg T. <he...@us...> - 2004-11-08 15:23:56
|
Update of /cvsroot/mvp-xml/WebSite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2000 Added Files: .cvsignore upload_api.cmd Log Message: Small script to upload API docs. --- NEW FILE: .cvsignore --- api bin obj *.user *.suo --- NEW FILE: upload_api.cmd --- @echo off set USER=helgy rem You need to install PSCP from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and have it on your %path% pscp -r api %USER%@shell.sourceforge.net:/home/groups/m/mv/mvp-xml/htdocs |
From: Oleg T. <he...@us...> - 2004-11-08 15:20:30
|
Update of /cvsroot/mvp-xml/XPointer/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1172/v1/src Modified Files: XPointer.csproj Log Message: Index: XPointer.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/XPointer.csproj,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- XPointer.csproj 7 Nov 2004 16:47:53 -0000 1.7 +++ XPointer.csproj 8 Nov 2004 15:20:21 -0000 1.8 @@ -29,7 +29,7 @@ CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" - DocumentationFile = "Mvp.Xml.XPointer.xml" + DocumentationFile = "bin\Debug\Mvp.Xml.XPointer.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" |
From: Oleg T. <he...@us...> - 2004-11-08 15:19:47
|
Update of /cvsroot/mvp-xml/XInclude/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv928/v1/src Modified Files: XInclude.csproj Log Message: Index: XInclude.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/src/XInclude.csproj,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- XInclude.csproj 7 Nov 2004 16:46:25 -0000 1.9 +++ XInclude.csproj 8 Nov 2004 15:19:35 -0000 1.10 @@ -29,7 +29,7 @@ CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" - DocumentationFile = "Mvp.Xml.XInclude.xml" + DocumentationFile = "bin\Debug\Mvp.Xml.XInclude.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" |
From: Oleg T. <he...@us...> - 2004-11-08 15:19:14
|
Update of /cvsroot/mvp-xml/Common/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv750/v1/src Modified Files: Common.csproj Log Message: Index: Common.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/Common.csproj,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Common.csproj 7 Nov 2004 16:41:17 -0000 1.4 +++ Common.csproj 8 Nov 2004 15:18:58 -0000 1.5 @@ -29,7 +29,7 @@ CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" - DocumentationFile = "Mvp.Xml.Common.xml" + DocumentationFile = "bin\Debug\Mvp.Xml.Common.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" |
From: Oleg T. <he...@us...> - 2004-11-07 16:48:03
|
Update of /cvsroot/mvp-xml/XPointer/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv493/v1/src Modified Files: IDAssuredValidatingReader.cs Pointer.cs XPointer.csproj XPointerException.cs XPointerReader.cs Log Message: Documenation stuff. Index: Pointer.cs =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/Pointer.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Pointer.cs 31 Oct 2004 08:07:15 -0000 1.3 +++ Pointer.cs 7 Nov 2004 16:47:53 -0000 1.4 @@ -16,7 +16,7 @@ #region public methods /// <summary> - /// Parses <see cref="XPointer"/> pointer and compiles it into + /// Parses XPointer pointer and compiles it into /// an instance of <see cref="Pointer"/> class. /// </summary> /// <param name="xpointer">XPointer pointer</param> Index: XPointerException.cs =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/XPointerException.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- XPointerException.cs 4 Nov 2004 15:49:44 -0000 1.2 +++ XPointerException.cs 7 Nov 2004 16:47:53 -0000 1.3 @@ -11,21 +11,67 @@ /// </summary> public abstract class XPointerException : Exception { + /// <summary> + /// Initializes a new instance of the <see cref="ApplicationException"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> public XPointerException(string message) : base(message) {} + + /// <summary> + /// Initializes a new instance of the <see cref="ApplicationException"/> + /// class with a specified error message and a reference to the + /// inner exception that is the cause of this exception. + /// </summary> + /// <param name="message">Error message</param> + /// <param name="innerException">Inner exception</param> public XPointerException(string message, Exception innerException) : base(message, innerException) {} } + /// <summary> + /// XPointer Framework syntax error. + /// </summary> public class XPointerSyntaxException : XPointerException { + /// <summary> + /// Initializes a new instance of the <see cref="XPointerSyntaxException"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> public XPointerSyntaxException(string message) : base(message) {} + + /// <summary> + /// Initializes a new instance of the <see cref="XPointerSyntaxException"/> + /// class with a specified error message and a reference to the + /// inner exception that is the cause of this exception. + /// </summary> + /// <param name="message">Error message</param> + /// <param name="innerException">Inner exception</param> public XPointerSyntaxException(string message, Exception innerException) : base(message, innerException) {} } + /// <summary> + /// XPointer doesn't identify any subresources - it's an error as per + /// XPointer Framework. + /// </summary> public class NoSubresourcesIdentifiedException : XPointerException { + /// <summary> + /// Initializes a new instance of the <see cref="NoSubresourcesIdentifiedException"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> public NoSubresourcesIdentifiedException(string message) : base(message) {} + + /// <summary> + /// Initializes a new instance of the <see cref="NoSubresourcesIdentifiedException"/> + /// class with a specified error message and a reference to the + /// inner exception that is the cause of this exception. + /// </summary> + /// <param name="message">Error message</param> + /// <param name="innerException">Inner exception</param> public NoSubresourcesIdentifiedException(string message, Exception innerException) : base(message, innerException) {} } Index: XPointer.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/XPointer.csproj,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- XPointer.csproj 28 Oct 2004 18:21:23 -0000 1.6 +++ XPointer.csproj 7 Nov 2004 16:47:53 -0000 1.7 @@ -29,7 +29,7 @@ CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" - DocumentationFile = "" + DocumentationFile = "Mvp.Xml.XPointer.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" Index: IDAssuredValidatingReader.cs =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/IDAssuredValidatingReader.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- IDAssuredValidatingReader.cs 11 Oct 2004 20:55:37 -0000 1.1 +++ IDAssuredValidatingReader.cs 7 Nov 2004 16:47:53 -0000 1.2 @@ -4,81 +4,92 @@ #endregion -/// <summary> -/// Auxillary XmlReader that always reports dummy DOCTYPE. This is done -/// to turn on support for id() function in XML Schema defined XML documents. -/// See http://www.tkachenko.com/blog/archives/000060.html. -/// </summary> -public class IdAssuredValidatingReader : XmlValidatingReader +namespace Mvp.Xml.XPointer { - #region private members - private bool _exposeDummyDoctype; - private bool _isInProlog = true; + /// <summary> + /// Auxillary XmlReader that always reports dummy DOCTYPE. This is done + /// to turn on support for id() function in XML Schema defined XML documents. + /// See http://www.tkachenko.com/blog/archives/000060.html. + /// </summary> + internal class IdAssuredValidatingReader : XmlValidatingReader + { + #region private members - #endregion + private bool _exposeDummyDoctype; + private bool _isInProlog = true; - #region constructors - - public IdAssuredValidatingReader(XmlReader r) : base (r) {} + #endregion - #endregion + #region constructors + + /// <summary> + /// Constructs <c>IdAssuredValidatingReader</c> on top of another reader. + /// </summary> + /// <param name="r"></param> + public IdAssuredValidatingReader(XmlReader r) : base (r) {} - #region XmlValidatingReader overrides + #endregion + + #region XmlValidatingReader overrides - public override XmlNodeType NodeType - { - get - { - return _exposeDummyDoctype ? - XmlNodeType.DocumentType : - base.NodeType; - } - } + /// <summary>See <see cref="XmlValidatingReader.NodeType"/>.</summary> + public override XmlNodeType NodeType + { + get + { + return _exposeDummyDoctype ? + XmlNodeType.DocumentType : + base.NodeType; + } + } - public override bool MoveToNextAttribute() - { - return _exposeDummyDoctype? - false : - base.MoveToNextAttribute(); - } + /// <summary>See <see cref="XmlValidatingReader.MoveToNextAttribute"/>.</summary> + public override bool MoveToNextAttribute() + { + return _exposeDummyDoctype? + false : + base.MoveToNextAttribute(); + } - public override bool Read() - { - if (_isInProlog) + /// <summary>See <see cref="XmlValidatingReader.Read"/>.</summary> + public override bool Read() { - if (!_exposeDummyDoctype) + if (_isInProlog) { - //We are looking for the very first element - bool baseRead = base.Read(); - if (base.NodeType == XmlNodeType.Element) + if (!_exposeDummyDoctype) { - _exposeDummyDoctype = true; - return true; + //We are looking for the very first element + bool baseRead = base.Read(); + if (base.NodeType == XmlNodeType.Element) + { + _exposeDummyDoctype = true; + return true; + } + else if (base.NodeType == XmlNodeType.DocumentType) + { + //Document has own DOCTYPE, switch back to normal flow + _exposeDummyDoctype = false; + _isInProlog = false; + return true; + } + else + { + return baseRead; + } } - else if (base.NodeType == XmlNodeType.DocumentType) + else { - //Document has own DOCTYPE, switch back to normal flow + //Done, switch back to normal flow _exposeDummyDoctype = false; _isInProlog = false; return true; } - else - { - return baseRead; - } } - else - { - //Done, switch back to normal flow - _exposeDummyDoctype = false; - _isInProlog = false; - return true; - } - } - else - return base.Read(); - } + else + return base.Read(); + } - #endregion + #endregion + } } \ No newline at end of file Index: XPointerReader.cs =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/XPointerReader.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- XPointerReader.cs 7 Nov 2004 14:50:34 -0000 1.9 +++ XPointerReader.cs 7 Nov 2004 16:47:53 -0000 1.10 @@ -14,8 +14,12 @@ namespace Mvp.Xml.XPointer { /// <summary> - /// XPointer-aware XmlReader. + /// <c>XPointerReader</c> implements XPointer Framework in + /// a fast, non-caching, forward-only way. <c>XPointerReader</c> + /// supports XPointer Framework, element(), xmlns(), xpath1() and + /// xpointer() (XPath subset only) XPointer schemes. /// </summary> + /// <remarks>See <a href="http://mvp-xml.sf.net/xpointer">XPointer.NET homepage</a> for more info.</remarks> /// <author>Oleg Tkachenko, ol...@tk...</author> public class XPointerReader : XmlReader, IHasXPathNavigator { @@ -192,193 +196,231 @@ #endregion #region XmlReader overrides - + + /// <summary>See <see cref="XmlReader.AttributeCount"/>.</summary> public override int AttributeCount { get { return _reader.AttributeCount; } } + /// <summary>See <see cref="XmlReader.BaseURI"/>.</summary> public override string BaseURI { get { return _reader.BaseURI; } } + /// <summary>See <see cref="XmlReader.HasValue"/>.</summary> public override bool HasValue { get { return _reader.HasValue; } } + /// <summary>See <see cref="XmlReader.IsDefault"/>.</summary> public override bool IsDefault { get { return _reader.IsDefault; } } + /// <summary>See <see cref="XmlReader.Name"/>.</summary> public override string Name { get { return _reader.Name; } } + /// <summary>See <see cref="XmlReader.LocalName"/>.</summary> public override string LocalName { get { return _reader.LocalName; } } + /// <summary>See <see cref="XmlReader.NamespaceURI"/>.</summary> public override string NamespaceURI { get { return _reader.NamespaceURI; } } + /// <summary>See <see cref="XmlReader.NameTable"/>.</summary> public override XmlNameTable NameTable { get{ return _reader.NameTable; } } + /// <summary>See <see cref="XmlReader.NodeType"/>.</summary> public override XmlNodeType NodeType { get { return _reader.NodeType; } } + /// <summary>See <see cref="XmlReader.Prefix"/>.</summary> public override string Prefix { get { return _reader.Prefix; } } + /// <summary>See <see cref="XmlReader.QuoteChar"/>.</summary> public override char QuoteChar { get { return _reader.QuoteChar; } } + /// <summary>See <see cref="XmlReader.Close"/>.</summary> public override void Close() { if (_reader != null) _reader.Close(); } + /// <summary>See <see cref="XmlReader.Depth"/>.</summary> public override int Depth { get { return _reader.Depth; } } + /// <summary>See <see cref="XmlReader.EOF"/>.</summary> public override bool EOF { get { return _reader.EOF; } } + /// <summary>See <see cref="XmlReader.GetAttribute"/>.</summary> public override string GetAttribute(int i) { return _reader.GetAttribute(i); } + /// <summary>See <see cref="XmlReader.GetAttribute"/>.</summary> public override string GetAttribute(string name) { return _reader.GetAttribute(name); } + /// <summary>See <see cref="XmlReader.GetAttribute"/>.</summary> public override string GetAttribute(string name, string namespaceURI) { return _reader.GetAttribute(name, namespaceURI); } + /// <summary>See <see cref="XmlReader.IsEmptyElement"/>.</summary> public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } } + /// <summary>See <see cref="XmlReader.LookupNamespace"/>.</summary> public override String LookupNamespace(String prefix) { return _reader.LookupNamespace(prefix); } + /// <summary>See <see cref="XmlReader.MoveToAttribute"/>.</summary> public override void MoveToAttribute(int i) { _reader.MoveToAttribute(i); } + /// <summary>See <see cref="XmlReader.MoveToAttribute"/>.</summary> public override bool MoveToAttribute(string name) { return _reader.MoveToAttribute(name); } + /// <summary>See <see cref="XmlReader.MoveToAttribute"/>.</summary> public override bool MoveToAttribute(string name, string ns) { return _reader.MoveToAttribute(name, ns); } + /// <summary>See <see cref="XmlReader.MoveToElement"/>.</summary> public override bool MoveToElement() { return _reader.MoveToElement(); } + /// <summary>See <see cref="XmlReader.MoveToFirstAttribute"/>.</summary> public override bool MoveToFirstAttribute() { return _reader.MoveToFirstAttribute(); } + /// <summary>See <see cref="XmlReader.MoveToNextAttribute"/>.</summary> public override bool MoveToNextAttribute() { return _reader.MoveToNextAttribute(); } + /// <summary>See <see cref="XmlReader.ReadAttributeValue"/>.</summary> public override bool ReadAttributeValue() { return _reader.ReadAttributeValue(); } - + + /// <summary>See <see cref="XmlReader.ReadState"/>.</summary> public override ReadState ReadState { get { return _reader.ReadState; } } + /// <summary>See <see cref="XmlReader.this"/>.</summary> public override String this [int i] { get { return _reader[i]; } } + /// <summary>See <see cref="XmlReader.this"/>.</summary> public override string this [string name] { get { return _reader[name]; } } + /// <summary>See <see cref="XmlReader.this"/>.</summary> public override string this [string name, string namespaceURI] { get { return _reader[name, namespaceURI]; } } + /// <summary>See <see cref="XmlReader.ResolveEntity"/>.</summary> public override void ResolveEntity() { _reader.ResolveEntity(); } + /// <summary>See <see cref="XmlReader.XmlLang"/>.</summary> public override string XmlLang { get { return _reader.XmlLang; } } + /// <summary>See <see cref="XmlReader.XmlSpace"/>.</summary> public override XmlSpace XmlSpace { get { return _reader.XmlSpace; } } + /// <summary>See <see cref="XmlReader.Value"/>.</summary> public override string Value { get { return _reader.Value; } } + /// <summary>See <see cref="XmlReader.ReadInnerXml"/>.</summary> public override string ReadInnerXml() { return _reader.ReadInnerXml(); } + /// <summary>See <see cref="XmlReader.ReadOuterXml"/>.</summary> public override string ReadOuterXml() { return _reader.ReadOuterXml(); } + /// <summary>See <see cref="XmlReader.ReadString"/>.</summary> public override string ReadString() { return _reader.ReadString(); } + /// <summary>See <see cref="XmlReader.Read"/>.</summary> public override bool Read() { bool baseRead = _reader.Read(); |
From: Oleg T. <he...@us...> - 2004-11-07 16:46:39
|
Update of /cvsroot/mvp-xml/XInclude/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32642/v1/src Modified Files: TextUtils.cs XInclude.csproj XIncludeException.cs XIncludingReader.cs Log Message: Documenation stuff. Index: XIncludeException.cs =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/src/XIncludeException.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- XIncludeException.cs 4 Nov 2004 15:47:25 -0000 1.8 +++ XIncludeException.cs 7 Nov 2004 16:46:25 -0000 1.9 @@ -6,75 +6,157 @@ namespace Mvp.Xml.XInclude { - /// <summary> - /// Generic XInclude exception. - /// </summary> - public abstract class XIncludeException : Exception { - public XIncludeException(string message) : base(message) {} - public XIncludeException(string message, Exception innerException) - : base(message, innerException) {} - } + /// <summary> + /// Generic XInclude exception. + /// </summary> + public abstract class XIncludeException : Exception + { + /// <summary> + /// Initializes a new instance of the <see cref="XIncludeException"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> + public XIncludeException(string message) : base(message) {} + + /// <summary> + /// Initializes a new instance of the <see cref="XIncludeException"/> + /// class with a specified error message and a reference to the + /// inner exception that is the cause of this exception. + /// </summary> + /// <param name="message">Error message</param> + /// <param name="innerException">Inner exceptiion</param> + public XIncludeException(string message, Exception innerException) + : base(message, innerException) {} + } - /// <summary> - /// <c>ResourceException</c> represents resource error as per XInclude specification. - /// </summary> - /// <remarks> - /// Resource error is internal error and should lead to fallback processing. - /// <c>ResourceException</c> therefore should never be thrown outside - /// the XInclude Processor. - /// </remarks> - internal class ResourceException : XIncludeException { - public ResourceException(string message) : base(message) {} + /// <summary> + /// <c>ResourceException</c> represents resource error as per XInclude specification. + /// </summary> + /// <remarks> + /// Resource error is internal error and should lead to the fallback processing. + /// <c>ResourceException</c> therefore should never be thrown outside + /// the XInclude Processor. + /// </remarks> + internal class ResourceException : XIncludeException + { + /// <summary> + /// Initializes a new instance of the <see cref="ResourceException"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> + public ResourceException(string message) : base(message) {} + + /// <summary> + /// Initializes a new instance of the <see cref="ResourceException"/> + /// class with a specified error message and a reference to the + /// inner exception that is the cause of this exception. + /// </summary> + /// <param name="message">Error message</param> + /// <param name="innerException">Inner exceptiion</param> public ResourceException(string message, Exception innerException) : base(message, innerException) {} - } + } - /// <summary> - /// <c>FatalException</c> represents fatal error as per XInclude spcification. - /// </summary> - public abstract class FatalException : XIncludeException { - public FatalException(string message) : base(message) {} + /// <summary> + /// <c>FatalException</c> represents fatal error as per XInclude spcification. + /// </summary> + public abstract class FatalException : XIncludeException + { + /// <summary> + /// Initializes a new instance of the <see cref="FatalException"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> + public FatalException(string message) : base(message) {} + + /// <summary> + /// Initializes a new instance of the <see cref="FatalException"/> + /// class with a specified error message and a reference to the + /// inner exception that is the cause of this exception. + /// </summary> + /// <param name="message">Error message</param> + /// <param name="innerException">Inner exceptiion</param> public FatalException(string message, Exception innerException) : base(message, innerException) {} - } + } - /// <summary> - /// Non XML character in a document to include exception. - /// </summary> - public class NonXmlCharacterException : FatalException { + /// <summary> + /// Non XML character in a document to include exception. + /// </summary> + public class NonXmlCharacterException : FatalException + { + /// <summary> + /// Initializes a new instance of the <see cref="NonXmlCharacterException"/> + /// class with a specified invalid character. + /// </summary> + /// <param name="c">Invalid character</param> public NonXmlCharacterException(char c) : base(SR.GetString("NonXmlCharacter", ((int)c).ToString("X2"))) {} - } + } - /// <summary> - /// Circular inclusion exception. - /// </summary> - public class CircularInclusionException : FatalException { + /// <summary> + /// Circular inclusion exception. + /// </summary> + public class CircularInclusionException : FatalException + { + /// <summary> + /// Initializes a new instance of the <see cref="CircularInclusionException"/> + /// class with a specified Uri that causes inclusion loop. + /// </summary> + /// <param name="uri">Uri that causes inclusion loop</param> public CircularInclusionException(Uri uri) : base(SR.GetString("CircularInclusion", uri.AbsoluteUri)) {} + + /// <summary> + /// Initializes a new instance of the <see cref="CircularInclusionException"/> + /// class with a specified Uri that causes inclusion loop and error location within + /// XML document. + /// </summary> + /// <param name="uri">Uri that causes inclusion loop</param> + /// <param name="line">Line number</param> + /// <param name="locationUri">Location Uri</param> + /// <param name="position">Column number</param> public CircularInclusionException(Uri uri, string locationUri, int line, int position) : base(SR.GetString("CircularInclusionLong", uri.AbsoluteUri, locationUri, line, position)) {} - } + } /// <summary> /// Resource error not backed up by xi:fallback exception. /// </summary> - public class FatalResourceException : FatalException { + public class FatalResourceException : FatalException + { + /// <summary> + /// Initializes a new instance of the <see cref="FatalResourceException"/> + /// class with the specified inner exception that is the cause of this exception. + /// </summary> + /// <param name="re">Inner exceptiion</param> public FatalResourceException(Exception re) : - base(SR.GetString("FatalResourceException", re.Message), re) {} - } + base(SR.GetString("FatalResourceException", re.Message), re) {} + } /// <summary> /// XInclude syntax error exception. /// </summary> - public class XIncludeSyntaxError : FatalException { + public class XIncludeSyntaxError : FatalException + { + /// <summary> + /// Initializes a new instance of the <see cref="XIncludeSyntaxError"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> public XIncludeSyntaxError(string message) : base(message) {} } /// <summary> /// Include location identifies an attribute or namespace node. /// </summary> - public class AttributeOrNamespaceInIncludeLocationError : FatalException { + public class AttributeOrNamespaceInIncludeLocationError : FatalException + { + /// <summary> + /// Initializes a new instance of the <see cref="AttributeOrNamespaceInIncludeLocationError"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> public AttributeOrNamespaceInIncludeLocationError(string message) : base(message) {} } @@ -84,6 +166,11 @@ /// </summary> public class MalformedXInclusionResultError : FatalException { + /// <summary> + /// Initializes a new instance of the <see cref="MalformedXInclusionResultError"/> + /// class with a specified error message. + /// </summary> + /// <param name="message">Error message</param> public MalformedXInclusionResultError(string message) : base(message) {} } @@ -91,9 +178,14 @@ /// Value of the "accept" attribute contains an invalid for /// HTTP header character (outside #x20 through #x7E range). /// </summary> - public class InvalidAcceptHTTPHeaderValue : FatalException + public class InvalidAcceptHTTPHeaderValueError : FatalException { - public InvalidAcceptHTTPHeaderValue(char c) : + /// <summary> + /// Initializes a new instance of the <see cref="InvalidAcceptHTTPHeaderValueError"/> + /// class with a specified invalid character. + /// </summary> + /// <param name="c">Invalid character</param> + public InvalidAcceptHTTPHeaderValueError(char c) : base(SR.GetString("InvalidCharForAccept", ((int)c).ToString("X2"))) {} } } Index: XInclude.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/src/XInclude.csproj,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- XInclude.csproj 28 Oct 2004 18:27:05 -0000 1.8 +++ XInclude.csproj 7 Nov 2004 16:46:25 -0000 1.9 @@ -29,7 +29,7 @@ CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" - DocumentationFile = "" + DocumentationFile = "Mvp.Xml.XInclude.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" Index: XIncludingReader.cs =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/src/XIncludingReader.cs,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- XIncludingReader.cs 7 Nov 2004 14:49:56 -0000 1.28 +++ XIncludingReader.cs 7 Nov 2004 16:46:25 -0000 1.29 @@ -20,14 +20,13 @@ namespace Mvp.Xml.XInclude { /// <summary> - /// XInclude 1.0 aware XmlReader. + /// <c>XIncludingReader</c> class implements streamable subset of the + /// XInclude 1.0 in a fast, non-caching, forward-only fashion. + /// To put it another way <c>XIncludingReader</c> is XInclude 1.0 aware + /// <c>XmlReader</c>. /// </summary> + /// <remarks>See <a href="http://mvp-xml.sf.net/xinclude">XInclude.NET homepage</a> for more info.</remarks> /// <author>Oleg Tkachenko, ol...@tk...</author> - /// <remarks> - /// Open Issues: - /// o GetAttribute(int i)? - /// o MoveToAttribute(int i)? - ///</remarks> public class XIncludingReader : XmlReader { #region Private fields @@ -604,19 +603,19 @@ get { return _reader.ReadState; } } - /// <summary>See <see cref="XmlReader.Item"/></summary> + /// <summary>See <see cref="XmlReader.this"/></summary> public override String this [int i] { get { return GetAttribute(i); } } - /// <summary>See <see cref="XmlReader.Item"/></summary> + /// <summary>See <see cref="XmlReader.this"/></summary> public override string this [string name] { get { return GetAttribute(name); } } - /// <summary>See <see cref="XmlReader.Item"/></summary> + /// <summary>See <see cref="XmlReader.this"/></summary> public override string this [string name, string namespaceURI] { get { return GetAttribute(name, namespaceURI); } @@ -915,8 +914,8 @@ } /// <summary> - /// Flag indicating whether to emit xml:base as relative URI. - /// Note, it's true by default + /// Flag indicating whether to emit <c>xml:base</c> as relative URI. + /// True by default. /// </summary> public bool MakeRelativeBaseUri { @@ -1347,6 +1346,7 @@ /// Creates acquired infoset. /// </summary> /// <param name="reader">Source reader</param> + /// <param name="includeLocation">Base URI</param> private string CreateAcquiredInfoset(Uri includeLocation, TextReader reader) { return CreateAcquiredInfoset( Index: TextUtils.cs =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/src/TextUtils.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- TextUtils.cs 26 Oct 2004 19:28:41 -0000 1.3 +++ TextUtils.cs 7 Nov 2004 16:46:25 -0000 1.4 @@ -19,7 +19,7 @@ /// not permitted in XML 1.0 documents. /// </summary> /// <param name="str">Input string to check.</param> - /// <exception cref="NonXmlCharacterInDocument">Given string contains a character, + /// <exception cref="NonXmlCharacterException">Given string contains a character, /// forbidden in XML 1.0.</exception> public static void CheckForNonXmlChars(string str) { @@ -55,7 +55,7 @@ foreach (char c in accept) { if (c < 0x0020 || c > 0x007E) - throw new InvalidAcceptHTTPHeaderValue(c); + throw new InvalidAcceptHTTPHeaderValueError(c); } } |
From: Oleg T. <he...@us...> - 2004-11-07 16:46:39
|
Update of /cvsroot/mvp-xml/XInclude/v1/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32642/v1/test Modified Files: Elliotte_Rusty_HaroldTests.cs Log Message: Documenation stuff. Index: Elliotte_Rusty_HaroldTests.cs =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/test/Elliotte_Rusty_HaroldTests.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Elliotte_Rusty_HaroldTests.cs 3 Nov 2004 12:55:42 -0000 1.8 +++ Elliotte_Rusty_HaroldTests.cs 7 Nov 2004 16:46:25 -0000 1.9 @@ -225,7 +225,7 @@ /// accept attribute contains carriage-return/linefeed pair /// </summary> [Test] - [ExpectedException(typeof(InvalidAcceptHTTPHeaderValue))] + [ExpectedException(typeof(InvalidAcceptHTTPHeaderValueError))] public void harold_16() { RunAndCompare("badaccept1.xml", ""); @@ -237,7 +237,7 @@ /// accept attribute contains Latin-1 character (non-breaking space) /// </summary> [Test] - [ExpectedException(typeof(InvalidAcceptHTTPHeaderValue))] + [ExpectedException(typeof(InvalidAcceptHTTPHeaderValueError))] public void harold_17() { RunAndCompare("badaccept2.xml", ""); |
From: Oleg T. <he...@us...> - 2004-11-07 16:44:16
|
Update of /cvsroot/mvp-xml/Global In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32222 Added Files: Global.ndoc Log Message: NDoc documentation project file. --- NEW FILE: Global.ndoc --- <project SchemaVersion="1.3"> <assemblies> <assembly location="..\XInclude\v1\src\bin\Debug\Mvp.Xml.XInclude.dll" documentation="..\XInclude\v1\src\bin\Debug\Mvp.Xml.XInclude.xml" /> <assembly location="..\Common\v1\src\bin\Debug\Mvp.Xml.Common.dll" documentation="..\Common\v1\src\bin\Debug\Mvp.Xml.Common.xml" /> <assembly location="..\XPointer\v1\src\bin\Debug\Mvp.Xml.XPointer.dll" documentation="..\XPointer\v1\src\bin\Debug\Mvp.Xml.XPointer.xml" /> </assemblies> <documenters> <documenter name="JavaDoc"> <property name="OutputDirectory" value=".\doc\" /> </documenter> <documenter name="LaTeX"> <property name="OutputDirectory" value=".\doc\" /> <property name="TextFileFullName" value="Documentation.tex" /> <property name="TexFileBaseName" value="Documentation" /> <property name="LatexCompiler" value="latex" /> <property name="TexFileFullPath" value=".\doc\Documentation.tex" /> </documenter> <documenter name="LinearHtml"> <property name="OutputDirectory" value=".\doc\" /> <property name="Title" value="An NDoc Documented Class Library" /> </documenter> <documenter name="MSDN"> <property name="OutputDirectory" value="D:\projects\Mvp.Xml\Global\v1\doc\" /> <property name="HtmlHelpName" value="Mvp.Xml API Documentation" /> <property name="Title" value="Mvp.Xml API Documentation" /> <property name="OutputTarget" value="Web" /> <property name="SdkLinksOnWeb" value="True" /> <property name="FooterHtml" value="
" /> </documenter> <documenter name="VS.NET 2003"> <property name="OutputDirectory" value=".\doc\" /> <property name="HtmlHelpName" value="Documentation" /> <property name="Title" value="An NDoc documented library" /> </documenter> <documenter name="XML"> <property name="OutputFile" value=".\doc\doc.xml" /> </documenter> </documenters> </project> |
From: Oleg T. <he...@us...> - 2004-11-07 16:41:29
|
Update of /cvsroot/mvp-xml/Common/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31565/v1/src Modified Files: Common.csproj XmlBaseAwareXmlTextReader.cs Log Message: Typos. Index: XmlBaseAwareXmlTextReader.cs =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/XmlBaseAwareXmlTextReader.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- XmlBaseAwareXmlTextReader.cs 25 Oct 2004 18:18:05 -0000 1.1 +++ XmlBaseAwareXmlTextReader.cs 7 Nov 2004 16:41:17 -0000 1.2 @@ -9,7 +9,7 @@ namespace Mvp.Xml.Common { /// <summary> - /// XmltextReader supporting XML Base. + /// XmlTextReader supporting <a href="http://www.w3.org/TR/xmlbase/">XML Base</a>. /// </summary> public class XmlBaseAwareXmlTextReader : XmlTextReader { Index: Common.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/Common.csproj,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Common.csproj 28 Oct 2004 18:20:19 -0000 1.3 +++ Common.csproj 7 Nov 2004 16:41:17 -0000 1.4 @@ -29,7 +29,7 @@ CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" - DocumentationFile = "" + DocumentationFile = "Mvp.Xml.Common.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" |