<?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>Floating Attribute Error (2003/2007Not Both Installed)</title><link>https://www.infopathdev.com:443/forums/thread/25080.aspx</link><pubDate>Wed, 12 Dec 2007 18:10:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25080</guid><dc:creator>abcolson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25080</wfw:commentRss><description>&lt;p&gt;I am working with InfoPath 2003 SP2 using managed C# code in VisualStudio 2003 .Net 1.1 with a SQL Server data connection.&lt;/p&gt;
&lt;p&gt;I had a wonderful form almost complete and working several days ago and then all of a sudden rules wouldn&amp;#39;t work, I had duplicate attributes and the forms wouldn&amp;#39;t load properly (If those errors sound vague it comes via courtesy of the InfoPath error messaging system :) )&lt;/p&gt;
&lt;p&gt;After making a backup copy of my project and stripping it down to almost nothing I now get the error&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Form template: &lt;a&gt;file:///C:\develop\EpiTools\source\EpiAll\forms\Risk%20Management\Occurrence%20Reporting\Equipment%20Incident%20Report\manifest.xsf&lt;/a&gt;&lt;br /&gt;InfoPath cannot open the selected form because of an error in the form&amp;#39;s code.&lt;br /&gt;A floating attribute may not be passed as the context node for an XSLT transform or an XPath query.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;After reading the archives it appears that this error sometimes comes from having InfoPath 2003 and InfoPath 2007 both installed on the same machine.&amp;nbsp; This is not the case with me, so I am baffled.&amp;nbsp; My manifest, schemas, etc. look ok to me, so I cannot figure out where the error is coming from.&lt;/p&gt;
&lt;p&gt;Additionally, I am not even sure what a &amp;quot;floating attribute&amp;quot; is if it isn&amp;#39;t just any generic attribute caught by xsd:anyAttribute.&lt;/p&gt;
&lt;p&gt;The template is urn based so I am wondering how I can completely &amp;quot;purge&amp;quot; the urn from my system and start over because I fear there may be some registry settings tying the urn to whatever the error is.&lt;/p&gt;
&lt;p&gt;It is also possible that our IT department (or the Microsoft AutoUpdate) installed some conflicting updates.&amp;nbsp; I saw that recently an Office 2003 SP3 patch was installed (for example) but nothing relating to 2007 (I noticed that on another project the System.XML libraries seemed to also behave a little differently so I had to fix that recently).&lt;/p&gt;
&lt;p&gt;Since I don&amp;#39;t have any idea where the error is and I don&amp;#39;t want to clutter the real estate on the screen with everything, I will post code examples upon request.&lt;/p&gt;
&lt;p&gt;Thank you&lt;br /&gt;Tony&lt;/p&gt;</description></item></channel></rss>