<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Add a schemaLocation property to the header of the XML</title><link>https://www.infopathdev.com:443/forums/thread/103797.aspx</link><pubDate>Tue, 01 Sep 2015 13:10:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103797</guid><dc:creator>aapxp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103797.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=103797</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To create my forms I am using IP2007. Because the people who should use that form are working also with 2007.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;At
 the moment I have the problem that I am not able to add the schema 
location into my XML head in combination with the xsn file. I am able to
 change that property, when I am working with the source files. But when
 I am saving everything with InfoPath as an xsn file, all changes don&amp;#39;t 
work any more.&lt;/p&gt;&lt;p&gt;That is what I want to have: &lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;MyXML
 xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; 
xmlns=&amp;quot;http://www.myXML.org/XMLSchema/4.0.1&amp;quot; 
xsi:schemaLocation=&amp;quot;http://www.myXML.org/XMLSchema/4.0.1 
MySchema4.0.1.xsd&amp;quot;&amp;gt; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;And this is what I get:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;[...]&lt;br /&gt;&amp;lt;ns1:MyXML
 xmlns:altova=&amp;quot;http://www.altova.com/xml-schema-extensions&amp;quot; 
xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; 
xmlns:ns1=&amp;quot;http://www.myXML.org/XMLSchema/4.0.1&amp;quot; 
xmlns:xd=&amp;quot;http://schemas.microsoft.com/office/infopath/2003&amp;quot;&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The
 schemaLocation property is important for the validation of the XML. 
Without that information e.g. Altova XML Spy can not validate the file. &lt;/p&gt;&lt;p&gt;I
 searched for solutions, but I didn&amp;#39;t found anything that works. Is 
there an easy way to solve this in IP2007 or a newer version?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>