<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Opening an existing form after a change in namespace</title><link>https://www.infopathdev.com:443/forums/thread/26132.aspx</link><pubDate>Thu, 31 Jan 2008 21:21:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26132</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26132</wfw:commentRss><description>&lt;p&gt;No. Namespace definitions don&amp;#39;t chnage just because you make schema changes. This kind of change happens when you do something more significant... like &amp;quot;swap out&amp;quot; the schema, or create a new form template based on an old one. Just adding/renaming/removing schema elements/attributes will not change your namespace definition.&lt;/p&gt;</description></item><item><title>Re: Opening an existing form after a change in namespace</title><link>https://www.infopathdev.com:443/forums/thread/26103.aspx</link><pubDate>Thu, 31 Jan 2008 05:47:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26103</guid><dc:creator>anujQA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26103</wfw:commentRss><description>&lt;p&gt;Ok Thanks Greg for your help.&lt;/p&gt;
&lt;p&gt;So I will have to change the Date time stamp manually every time there occurs a schema change :(&lt;/p&gt;</description></item><item><title>Re: Opening an existing form after a change in namespace</title><link>https://www.infopathdev.com:443/forums/thread/26100.aspx</link><pubDate>Thu, 31 Jan 2008 00:21:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26100</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26100.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26100</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s the date/time stamp for the namespace. That would make sense.&lt;/p&gt;
&lt;p&gt;You will need to do it manually. There are a minimal amount of places in your form template files that will require the name change. You can use the command prompt program &amp;quot;findstr&amp;quot; to identify which files. For example, from the command prompt:&lt;/p&gt;
&lt;p&gt;c:\MyExtractedFormFiles&amp;gt;findstr /m &amp;quot;2008-01-18T20:57:22&amp;quot; *.*&lt;br /&gt;manifest.xsf&lt;br /&gt;myschema.xsd&lt;br /&gt;sampledata.xml&lt;br /&gt;template.xml&lt;br /&gt;view1.xsl&lt;/p&gt;
&lt;p&gt;The /m paramter says to just show filenames. With this list, you can do a search and replace to put the namespace definition back to its original.&lt;/p&gt;
&lt;p&gt;** AS ALWAYS: Backup your form template before doing any manual changes **&lt;/p&gt;</description></item><item><title>Re: Opening an existing form after a change in namespace</title><link>https://www.infopathdev.com:443/forums/thread/26054.aspx</link><pubDate>Wed, 30 Jan 2008 06:29:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26054</guid><dc:creator>anujQA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26054</wfw:commentRss><description>&lt;p&gt;Not really sure, how did the namespace change. I think when I changed the schema, the namespace might have changed at that time. I want to point point that the namespace didnt change completely. Only the date time part &amp;quot;&lt;em&gt;&lt;u&gt;2005-08-23T15-52-08&lt;/u&gt;&amp;quot;&amp;quot; &lt;/em&gt;at the end of the namespace&amp;nbsp;has changed.&lt;/p&gt;
&lt;p&gt;It wont be possible to change the namespace back to the original. I would have to do it manually everywhere. This doesnt seem to be a good idea.&lt;/p&gt;
&lt;p&gt;Is there a way so that I can update the namespace in already existing forms through code?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Anuj Chaudhary&lt;/p&gt;</description></item><item><title>Re: Opening an existing form after a change in namespace</title><link>https://www.infopathdev.com:443/forums/thread/26036.aspx</link><pubDate>Tue, 29 Jan 2008 19:56:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26036</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26036.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26036</wfw:commentRss><description>&lt;p&gt;The big question is why did you change the namespace definition? If you extract the form files, you can find all references to the namespace and change it back to the original, and then you shouldn&amp;#39;t have any issues like this with the form.&lt;/p&gt;
&lt;p&gt;Was there a legitimate reason for the namespace definition change?&lt;/p&gt;</description></item><item><title>Opening an existing form after a change in namespace</title><link>https://www.infopathdev.com:443/forums/thread/26004.aspx</link><pubDate>Tue, 29 Jan 2008 05:15:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26004</guid><dc:creator>anujQA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26004</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have an infopath form whose namespace has changed. I mean&amp;nbsp;the&amp;nbsp;target in &lt;em&gt;xmlns:my=&amp;quot;&lt;/em&gt;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-08-23T15-52-08"&gt;&lt;em&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-08-23T15-52-08&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;quot; has changed.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If my versioning setting is set to &amp;quot;Automatically upgrade&amp;nbsp;existing forms&amp;quot;, the existing forms are upgraded and my entire data is lost. I get a blank new form.&lt;/p&gt;
&lt;p&gt;Hence, I changed my setting to &amp;quot;Use custom event&amp;quot; and wrote some code for changed nodes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;But if I try to open existing forms, I get a message &lt;em&gt;&amp;quot;The element &amp;#39;{http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-08-23T15-52-08}XYZ&amp;#39; is used but not declared in the DTD/Schema.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I can get rid of this problem if I manually update the target in &lt;em&gt;xmlns:my=&amp;quot;&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;But I want the namespace to be updated automatically when&amp;nbsp;I try to open an exisiting form.&lt;/p&gt;
&lt;p&gt;Please let me know if there is a solution to this problem.&lt;/p&gt;
&lt;p&gt;Hope any one can help.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Anuj Chaudhary&lt;/p&gt;</description></item></channel></rss>