<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Mvp.Xml Project</title><link>http://www.codeplex.com/MVPXML/Project/ProjectRss.aspx</link><description>Mvp.Xml project is developed by Microsoft MVPs in XML technologies and XML Web Services worldwide. It is aimed at supplementing .NET framework XML processing functionality available through the Sys...</description><item><title>Commented Issue: xinclude / encoding problem</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=18320</link><description>hello&lt;br /&gt;i&amp;#39;ve a problem with encoding and i can&amp;#39;t resolve it.&lt;br /&gt;I have a project which use the .net 2 xml api and everything work fine.&lt;br /&gt;but if i have a file which contains strange characters &amp;#40;i don&amp;#39;t put an example, otherwise codeplex refuse my post&amp;#41;, xinclude don&amp;#39;t word &amp;#40;but .net work&amp;#41;&lt;br /&gt;&lt;br /&gt;the error message is &amp;#58;&lt;br /&gt;..., valeur hexad&amp;#233;cimale 0x0B, est un caract&amp;#232;re non valide. Ligne 3, position 31.&amp;#34;&lt;br /&gt;&lt;br /&gt;i have made an example project which reproduce the bug&lt;br /&gt;do you know how to solve that problem &amp;#63;&lt;br /&gt;although i admit i&amp;#39;m a bit lost, i think it&amp;#39;s a encoding problem&lt;br /&gt;&lt;br /&gt;thanks&lt;br /&gt;Comments: ** Comment from web user: psohm ** &lt;p&gt;the xml example file is &amp;#58;&lt;/p&gt;&lt;p&gt;&amp;#60;&amp;#63;xml version&amp;#61;&amp;#34;1.0&amp;#34; encoding&amp;#61;&amp;#34;utf-8&amp;#34;&amp;#63;&amp;#62;&lt;br /&gt;&amp;#60;Magasin xmlns&amp;#58;xsi&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;www.w3.org&amp;#47;2001&amp;#47;XMLSchema-instance&amp;#34; xmlns&amp;#58;xsd&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;www.w3.org&amp;#47;2001&amp;#47;XMLSchema&amp;#34;&amp;#62;&lt;br /&gt;&amp;#9;&amp;#60;Client Nom&amp;#61;&amp;#34;KKK QK Q QKQK&amp;#38;&amp;#35;xB&amp;#59;K Q QK&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;Magasin&amp;#62;&lt;br /&gt;&lt;/p&gt;</description><author>psohm</author><pubDate>Thu, 04 Sep 2008 15:31:16 GMT</pubDate><guid isPermaLink="false">Commented Issue: xinclude / encoding problem 20080904033116P</guid></item><item><title>Created Issue: xinclude / encoding problem</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=18320</link><description>hello&lt;br /&gt;i&amp;#39;ve a problem with encoding and i can&amp;#39;t resolve it.&lt;br /&gt;I have a project which use the .net 2 xml api and everything work fine.&lt;br /&gt;but if i have a file which contains strange characters &amp;#40;i don&amp;#39;t put an example, otherwise codeplex refuse my post&amp;#41;, xinclude don&amp;#39;t word &amp;#40;but .net work&amp;#41;&lt;br /&gt;&lt;br /&gt;the error message is &amp;#58;&lt;br /&gt;..., valeur hexad&amp;#233;cimale 0x0B, est un caract&amp;#232;re non valide. Ligne 3, position 31.&amp;#34;&lt;br /&gt;&lt;br /&gt;i have made an example project which reproduce the bug&lt;br /&gt;do you know how to solve that problem &amp;#63;&lt;br /&gt;although i admit i&amp;#39;m a bit lost, i think it&amp;#39;s a encoding problem&lt;br /&gt;&lt;br /&gt;thanks&lt;br /&gt;</description><author>psohm</author><pubDate>Thu, 04 Sep 2008 15:28:47 GMT</pubDate><guid isPermaLink="false">Created Issue: xinclude / encoding problem 20080904032847P</guid></item><item><title>New Post: Where's the msi installer and where are the installation instructions?</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=34269</link><description>&lt;div style="line-height: normal;"&gt;After some research, I found the installer here:&lt;br&gt;
&lt;br&gt;
http://www.PowerVB.com/XPathMania/Mvp.Xml_XPathMania_1.0RC1.1VS2008.zip&lt;br&gt;
&lt;/div&gt;</description><author>abdu</author><pubDate>Tue, 26 Aug 2008 08:31:04 GMT</pubDate><guid isPermaLink="false">New Post: Where's the msi installer and where are the installation instructions? 20080826083104A</guid></item><item><title>New Post: Where's the msi installer and where are the installation instructions?</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=34269</link><description>&lt;div style="line-height: normal;"&gt;&lt;br&gt;
The bin zip doesn't contain the msi installer plus there are no installation instructions. &lt;br&gt;
&lt;br&gt;
A message mentions a video from dnrtv about the tool. The developer spends like 8 minutes talking about the tool and then jumps straight to the 'Other Windows' menu option where he shows the tool. Where's the part that shows how to install it so that it shows up in that menu option!!? Did I miss it?&lt;br&gt;
&lt;/div&gt;</description><author>abdu</author><pubDate>Tue, 26 Aug 2008 08:11:43 GMT</pubDate><guid isPermaLink="false">New Post: Where's the msi installer and where are the installation instructions? 20080826081143A</guid></item><item><title>New Post: Need help debugging MvpXslTransform</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=32552</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
I'm having problems getting MvpXslTransform to work properly - can someone help?&lt;br&gt;
Here's my code:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public XmlReader GetXmlAsReader()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XElement qualification = GetQualification();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlReader reader = null;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlInput input = new XmlInput(qualification.CreateNavigator());&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MvpXslTransform transform = new MvpXslTransform(true);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try { transform.Load(GetStylesheet()); }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex) { ... }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try { reader = transform.Transform(input, null); }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex) { ... }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return reader;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
The output of the reader (if, say, I output to a file) is an empty file. I don't understand why.&lt;br&gt;
I basically need some ideas on how to debug this to find out why it's not working. I'm not very familiar with XmlReaders, and inspecting the properties &amp;amp; methods doesn't really highlight anything to me. &lt;br&gt;
&lt;ul&gt;
    &lt;li&gt;GetStylesheet() returns an XmlReader (but I've also tried with just a URI).&lt;/li&gt;
    &lt;li&gt;The XmlInput seems to be OK, although when I check it in the debugger my xml file is enclosed by &amp;quot;{&amp;quot; and &amp;quot;{&amp;quot; - is that to be expected?&lt;/li&gt;
    &lt;li&gt;I've used the stylesheet with a XslCompiledTransform, and it works as expected.&lt;/li&gt;
&lt;/ul&gt;
Any ideas, suggestions or pointers will be warmly welcomed!&lt;br&gt;
Thanks in advance,&lt;br&gt;
Peter.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>PeteM</author><pubDate>Wed, 30 Jul 2008 11:53:16 GMT</pubDate><guid isPermaLink="false">New Post: Need help debugging MvpXslTransform 20080730115316A</guid></item><item><title>New Post: integration in VS2008, how-to?</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=25950</link><description>&lt;div style="line-height: normal;"&gt;If you check in the comments of Don's blog (&lt;a href="http://donxml.com/allthingstechie/archive/2006/07/07/Intro-to-XPathmania-_2D00_-Extending-Visual-Studio-2005-to-Support-XPath-Development.aspx"&gt;http://donxml.com/allthingstechie/archive/2006/07/07/Intro-to-XPathmania-_2D00_-Extending-Visual-Studio-2005-to-Support-XPath-Development.aspx&lt;/a&gt;)&lt;br&gt;
you'll see that someone's created an installer for VS2008.&lt;br&gt;
&lt;a href="http://www.PowerVB.com/XPathMania/Mvp.Xml_XPathMania_1.0RC1.1VS2008.zip"&gt;http://www.PowerVB.com/XPathMania/Mvp.Xml_XPathMania_1.0RC1.1VS2008.zip&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Pete.&lt;br&gt;
&lt;/div&gt;</description><author>PeteM</author><pubDate>Wed, 30 Jul 2008 11:26:06 GMT</pubDate><guid isPermaLink="false">New Post: integration in VS2008, how-to? 20080730112606A</guid></item><item><title>Commented Issue: Cannot get XpathCache to replace variables.</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=14941</link><description>I cannot get XpathCache to replace dynamic xpath variables in my xpath expression. I know the expression evaluates if I hardcode some test values. &lt;br /&gt;&lt;br /&gt;This works&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;However this doesnt&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth &amp;#36;highlighted&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;string Highlighted &amp;#61; &amp;#40;SomeBoolVal&amp;#63; &amp;#34;and contains&amp;#40;&amp;#64;class, &amp;#39;expanded&amp;#39;&amp;#41;&amp;#34; &amp;#58; &amp;#34;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;, new XPathVariable&amp;#40;&amp;#34;highlighted&amp;#34;, Highlighted&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems as though my variable cannot contain xpath it can only be values. Why is this&amp;#63; Is there any way to dynamically generate the xpath itself and not just insert values&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: dcazzulino ** &lt;p&gt;That&amp;#39;s just now how xslt variables work. We&amp;#39;re just making it easier to use a feature that&amp;#39;s provided by the System.Xml.Xsl namespace. We can&amp;#39;t make changes, and I don&amp;#39;t anticipate MS doing them either. &lt;/p&gt;&lt;p&gt;Again, if you&amp;#39;re invoking Sprocs, you cannot do that. I&amp;#39;m afraid this is internally &amp;#40;.NET&amp;#41; the same. &lt;/p&gt;</description><author>dcazzulino</author><pubDate>Tue, 08 Jul 2008 05:18:35 GMT</pubDate><guid isPermaLink="false">Commented Issue: Cannot get XpathCache to replace variables. 20080708051835A</guid></item><item><title>Closed Issue: Cannot get XpathCache to replace variables.</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=14941</link><description>I cannot get XpathCache to replace dynamic xpath variables in my xpath expression. I know the expression evaluates if I hardcode some test values. &lt;br /&gt;&lt;br /&gt;This works&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;However this doesnt&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth &amp;#36;highlighted&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;string Highlighted &amp;#61; &amp;#40;SomeBoolVal&amp;#63; &amp;#34;and contains&amp;#40;&amp;#64;class, &amp;#39;expanded&amp;#39;&amp;#41;&amp;#34; &amp;#58; &amp;#34;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;, new XPathVariable&amp;#40;&amp;#34;highlighted&amp;#34;, Highlighted&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems as though my variable cannot contain xpath it can only be values. Why is this&amp;#63; Is there any way to dynamically generate the xpath itself and not just insert values&amp;#63;&lt;br /&gt;Comments: By Design</description><author>dcazzulino</author><pubDate>Tue, 08 Jul 2008 05:15:26 GMT</pubDate><guid isPermaLink="false">Closed Issue: Cannot get XpathCache to replace variables. 20080708051526A</guid></item><item><title>Closed Issue: XPathDocumentWriter::WriteRaw escapes XML when it shouldn't</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=15539</link><description>The WriteRaw method of the XPathDocumentWriter escapes the XML brackets &amp;#60; and &amp;#62; to &amp;#38;lt&amp;#59; and &amp;#38;gt&amp;#59; It seems that it behaves exactly as WriteString does.&lt;br /&gt;&lt;br /&gt;Steps to reproduce&amp;#58;&lt;br /&gt;&lt;br /&gt;XPathDocumentWriter xw &amp;#61; new XPathDocumentWriter&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;xw.WriteStartElement&amp;#40;&amp;#34;root&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;xw.WriteRaw&amp;#40;&amp;#34;&amp;#60;item&amp;#62;test&amp;#60;&amp;#47;item&amp;#62;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;xw.WriteEndElement&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;xw.Flush&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;XPathNavigator xn &amp;#61; xw.Close&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;Trace.WriteLine&amp;#40;xn.OuterXml&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The output is&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;root&amp;#62;&amp;#38;lt&amp;#59;item&amp;#38;gt&amp;#59;test&amp;#38;lt&amp;#59;item&amp;#38;gt&amp;#59;&amp;#60;&amp;#47;root&amp;#62;&lt;br /&gt;&lt;br /&gt;Whereas it should be&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;root&amp;#62;&amp;#60;item&amp;#62;test&amp;#60;&amp;#47;item&amp;#62;&amp;#60;&amp;#47;root&amp;#62;&lt;br /&gt;Comments: Look in Reflector at the MS.Internal.Xml.Cache.XPathDocumentBuilder.WriteRaw implementation:&lt;br /&gt;&lt;br /&gt;public override void WriteRaw(string data)&lt;br /&gt;{&lt;br /&gt;    this.WriteString(data, TextBlockType.Text);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;That's the wrapped class we're calling, it's provided by .NET and we can't change its behavior. So I guess you cannot use WriteRaw. &lt;br /&gt;&lt;br /&gt;An alternative would be to parse the string with an XmlReader and use WriteNode instead.</description><author>dcazzulino</author><pubDate>Sun, 06 Jul 2008 16:00:39 GMT</pubDate><guid isPermaLink="false">Closed Issue: XPathDocumentWriter::WriteRaw escapes XML when it shouldn't 20080706040039P</guid></item><item><title>NEW POST: integration in VS2008, how-to?</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=25950</link><description>&lt;div style="line-height: normal;"&gt;Yup, I love this addin, but hate having to swap to 2005 to work with XML files - please, please, please can you update?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>pmcevoy</author><pubDate>Mon, 12 May 2008 11:45:40 GMT</pubDate><guid isPermaLink="false">NEW POST: integration in VS2008, how-to? 20080512114540A</guid></item><item><title>NEW POST: integration in VS2008, how-to?</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=25950</link><description>&lt;div class="wikidoc"&gt;
Me too.  I tried updating the Add-In locations to search explicitly for the installation directory as well, but no dice.&lt;br /&gt;
&lt;/div&gt;</description><author>dturkel</author><pubDate>Sun, 27 Apr 2008 22:21:20 GMT</pubDate><guid isPermaLink="false">NEW POST: integration in VS2008, how-to? 20080427102120P</guid></item><item><title>NEW POST: integration in VS2008, how-to?</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=25950</link><description>&lt;div class="wikidoc"&gt;
I ran the XPathmania setup and it integrated fine in my VS2005, but not in my VS2008...&lt;br /&gt; &lt;br /&gt;How can I make it integrate into my VS2008?&lt;br /&gt;
&lt;/div&gt;</description><author>mousio</author><pubDate>Tue, 15 Apr 2008 13:44:31 GMT</pubDate><guid isPermaLink="false">NEW POST: integration in VS2008, how-to? 20080415014431P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/MVPXML/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>DonXML</author><pubDate>Sun, 06 Apr 2008 21:19:10 GMT</pubDate><guid isPermaLink="false">Source code checked in 20080406091910P</guid></item><item><title>CREATED ISSUE: XPathDocumentWriter::WriteRaw escapes XML when it shouldn't</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=15539</link><description>The WriteRaw method of the XPathDocumentWriter escapes the XML brackets &amp;#60; and &amp;#62; to &amp;#38;lt&amp;#59; and &amp;#38;gt&amp;#59; It seems that it behaves exactly as WriteString does.&lt;br /&gt;&lt;br /&gt;Steps to reproduce&amp;#58;&lt;br /&gt;&lt;br /&gt;XPathDocumentWriter xw &amp;#61; new XPathDocumentWriter&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;xw.WriteStartElement&amp;#40;&amp;#34;root&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;xw.WriteRaw&amp;#40;&amp;#34;&amp;#60;item&amp;#62;test&amp;#60;&amp;#47;item&amp;#62;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;xw.WriteEndElement&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;xw.Flush&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;XPathNavigator xn &amp;#61; xw.Close&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;Trace.WriteLine&amp;#40;xn.OuterXml&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The output is&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;root&amp;#62;&amp;#38;lt&amp;#59;item&amp;#38;gt&amp;#59;test&amp;#38;lt&amp;#59;item&amp;#38;gt&amp;#59;&amp;#60;&amp;#47;root&amp;#62;&lt;br /&gt;&lt;br /&gt;Whereas it should be&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;root&amp;#62;&amp;#60;item&amp;#62;test&amp;#60;&amp;#47;item&amp;#62;&amp;#60;&amp;#47;root&amp;#62;&lt;br /&gt;</description><author>roy_cornelissen</author><pubDate>Mon, 10 Mar 2008 13:42:25 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: XPathDocumentWriter::WriteRaw escapes XML when it shouldn't 20080310014225P</guid></item><item><title>NEW POST: XpathMania, default namespace</title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=22827</link><description>&lt;div class="wikidoc"&gt;
Hello,&lt;br /&gt; &lt;br /&gt;I'm getting an error that the document I'm querying has a default namespace that needs to be included in the Namespace Table. I've added the namespace, but now I get an error that all namespaces need to have a prefix associated with them. How do I specify a prefix for the default namespace?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;    Jeff&lt;br /&gt;
&lt;/div&gt;</description><author>jwessling</author><pubDate>Mon, 25 Feb 2008 20:07:10 GMT</pubDate><guid isPermaLink="false">NEW POST: XpathMania, default namespace 20080225080710P</guid></item><item><title>CREATED ISSUE: XpathCache Select that returns XpathNavigator</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=15268</link><description>Would it be possible to get a XPathCache.SelectSingleNode function that returns a XPathNavigator&amp;#63;&lt;br /&gt;</description><author>aromero78</author><pubDate>Thu, 21 Feb 2008 14:46:49 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: XpathCache Select that returns XpathNavigator 20080221024649P</guid></item><item><title>COMMENTED ISSUE: Cannot get XpathCache to replace variables.</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=14941</link><description>I cannot get XpathCache to replace dynamic xpath variables in my xpath expression. I know the expression evaluates if I hardcode some test values. &lt;br /&gt;&lt;br /&gt;This works&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;However this doesnt&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth &amp;#36;highlighted&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;string Highlighted &amp;#61; &amp;#40;SomeBoolVal&amp;#63; &amp;#34;and contains&amp;#40;&amp;#64;class, &amp;#39;expanded&amp;#39;&amp;#41;&amp;#34; &amp;#58; &amp;#34;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;, new XPathVariable&amp;#40;&amp;#34;highlighted&amp;#34;, Highlighted&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems as though my variable cannot contain xpath it can only be values. Why is this&amp;#63; Is there any way to dynamically generate the xpath itself and not just insert values&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: aromero78 ** &lt;p&gt;If at all possible I&amp;#39;d rather not be protected from myself. Would it be possible to break out this functionality into two separate functions&amp;#63; An XPathCache.Select method that allows for any string to be added and a new function that would check a give string for xpath injection&amp;#63; That way in situations where I control all of the variables and know that xpath injection is not possible I could use the XPathCache class to build any Xpath statement I wanted and could still check for injection if need be.&lt;/p&gt;</description><author>aromero78</author><pubDate>Thu, 21 Feb 2008 14:43:43 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Cannot get XpathCache to replace variables. 20080221024343P</guid></item><item><title>NEW POST: Mvp.Xml for .NET 3.5 </title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=21216</link><description>&lt;div class="wikidoc"&gt;
OK, thank you for that info. &lt;br /&gt;
&lt;/div&gt;</description><author>sl13</author><pubDate>Thu, 31 Jan 2008 09:26:28 GMT</pubDate><guid isPermaLink="false">NEW POST: Mvp.Xml for .NET 3.5  20080131092628A</guid></item><item><title>NEW POST: Mvp.Xml for .NET 3.5 </title><link>http://www.codeplex.com/MVPXML/Thread/View.aspx?ThreadId=21216</link><description>&lt;div class="wikidoc"&gt;
There are no known issues and it's bring successfully used with 3.5&lt;br /&gt; &lt;br /&gt;We have no specific release plans at this point, i'm afraid&lt;br /&gt;
&lt;/div&gt;</description><author>dcazzulino</author><pubDate>Thu, 31 Jan 2008 04:42:14 GMT</pubDate><guid isPermaLink="false">NEW POST: Mvp.Xml for .NET 3.5  20080131044214A</guid></item><item><title>COMMENTED ISSUE: Cannot get XpathCache to replace variables.</title><link>http://www.codeplex.com/MVPXML/WorkItem/View.aspx?WorkItemId=14941</link><description>I cannot get XpathCache to replace dynamic xpath variables in my xpath expression. I know the expression evaluates if I hardcode some test values. &lt;br /&gt;&lt;br /&gt;This works&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;However this doesnt&amp;#58;&lt;br /&gt;string MenuDepthXpathStr &amp;#61; &amp;#34;&amp;#47;descendant-or-self&amp;#58;&amp;#58;ul&amp;#91;count&amp;#40;ancestor-or-self&amp;#58;&amp;#58;ul&amp;#41; &amp;#62;&amp;#61;  &amp;#36;depth &amp;#36;highlighted&amp;#93;&amp;#34;&amp;#59;&lt;br /&gt;string Depth &amp;#61; &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;string Highlighted &amp;#61; &amp;#40;SomeBoolVal&amp;#63; &amp;#34;and contains&amp;#40;&amp;#64;class, &amp;#39;expanded&amp;#39;&amp;#41;&amp;#34; &amp;#58; &amp;#34;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;XPathNodeIterator TempList &amp;#61; XPathCache.Select&amp;#40;MenuDepthXpathStr, MenuDocXml, new XmlNamespaceManager&amp;#40;MenuDocXml.NameTable&amp;#41;, new XPathVariable&amp;#40;&amp;#34;depth&amp;#34;, Depth&amp;#41;, new XPathVariable&amp;#40;&amp;#34;highlighted&amp;#34;, Highlighted&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;It seems as though my variable cannot contain xpath it can only be values. Why is this&amp;#63; Is there any way to dynamically generate the xpath itself and not just insert values&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: dcazzulino ** &lt;p&gt;think of the xpathcache and pre-compiled xpath expressions as stored procedures. &lt;br /&gt;The values you&amp;#39;re replacing are not &amp;#34;string.format&amp;#34; kind of replacement. They are rather like sproc&amp;#39;s parameters. &lt;/p&gt;&lt;p&gt;What you&amp;#39;re trying to do is the equivalent of SQL injection but with xpath. it&amp;#39;s called xpath injection and is something that doesn&amp;#39;t work by design.&lt;/p&gt;</description><author>dcazzulino</author><pubDate>Thu, 31 Jan 2008 04:27:14 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Cannot get XpathCache to replace variables. 20080131042714A</guid></item></channel></rss>