<?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: Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/18092.aspx</link><pubDate>Tue, 17 Jan 2006 20:53:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18092</guid><dc:creator>rbarnett</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18092.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18092</wfw:commentRss><description>I recently encountered this problem and figured out some things before finding that SP2 fixes the problem.  I thought I'd post what I found in case it's useful to someone.&lt;br /&gt;&lt;br /&gt;I don't know exactly what triggers the bug.  The test case documented above matches my most recent case very closely, but I've had disappearing formatting for a while with only one condition too.&lt;br /&gt;&lt;br /&gt;When the bug is activated, the conditional formatting is sometimes completely stripped and other times it's replaced with this (in the view XLS file):&lt;br /&gt;    &amp;lt;xsl:choose&amp;gt;&lt;br /&gt;        &amp;lt;xsl:when test=""/&amp;gt;&lt;br /&gt;    &amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;The latter case prevents the form from being opened or previewed since an empty test is invalid.&lt;br /&gt;&lt;br /&gt;The bug seems to occur during the loading of the form into design-mode.  After opening a .xsn file in design-mode that still contained the conditional formatting (verified by examining the view XSL file), an inital preview showed the formatting to be active, but the properties of the dropdown showed no conditional formatting.  After making an unrelated change to the form, preview failed with the XSL error.  Further, afer applying SP2, the conditional formatting could be seen in the dropdown propeties in that same .xsn file.&lt;br /&gt;&lt;br /&gt;Once the conditional formatting has been stripped in design mode, publishing or saving the form makes the loss permanent.&lt;br /&gt;&lt;br /&gt;Since this is a design-mode bug, probably only developers need SP2 to avoid it.  However, I don't know whether there are other changes in SP2 that require all users to upgrade though my initial tests indicate that SP1 can open a form saved with SP2.&lt;br /&gt;&lt;br /&gt;Since the bug occurs during loading into design-mode, a tedious workaround that doesn't require changing the schema or applying SP2 is to re-apply the conditions after making all other changes.  The conditions should stay in place until the next time the form is opened in design-mode.&lt;br /&gt;&lt;br /&gt;Rodney</description></item><item><title>Re: Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/18091.aspx</link><pubDate>Wed, 07 Dec 2005 00:30:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18091</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18091</wfw:commentRss><description>Thanks...I appreciate.  I will need to see if client will have it rolled out to thier large user base.</description></item><item><title>Re: Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/18090.aspx</link><pubDate>Tue, 06 Dec 2005 22:17:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18090</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18090.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18090</wfw:commentRss><description>FYI: Microsoft says this is fixed in SP2 which should be available on their website.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/18089.aspx</link><pubDate>Tue, 06 Dec 2005 04:36:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18089</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18089</wfw:commentRss><description>I have sent this issue to Microsoft. Hopefully we'll hear back from them.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/18088.aspx</link><pubDate>Fri, 02 Dec 2005 14:06:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18088</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18088</wfw:commentRss><description>Patrick,&lt;br /&gt;&lt;br /&gt;I had this error come back on me and I now know how to create the error.  This is a bug in InfoPath.  I decided to make another InfoPath form on the side and I was able to create the error the first time.&lt;br /&gt;&lt;br /&gt;To create this error.&lt;br /&gt;1 - Create a new blank&lt;br /&gt;2 - Add a secondary data source to the form.  I used an existing webservice I had that returns data to be displayed in a dropdown.  The webservice is only a "get" method.&lt;br /&gt;3 - Add a dropdown to the form.&lt;br /&gt;4 - Use the secondary data source to populate the dropdown.&lt;br /&gt;5 - Go to conditional formatting and add two conditions.&lt;br /&gt;5.1 - Add a condition that hides the control.  The actual conditional logic itself does not matter.  The expression can be something like &amp;gt;&amp;gt; my:field1 = "12123321321"&lt;br /&gt;5.2 - Add another conditional logic that disables the dropdown &amp;gt;&amp;gt; my:field1 = "dasyudsy7"&lt;br /&gt;6 - Go file &amp;gt;&amp;gt; save as &amp;gt;&amp;gt; and save the .xsn file.&lt;br /&gt;7 - Close InfoPath&lt;br /&gt;8 - Open your .xsn file again in design mode&lt;br /&gt;9 - Open up the conditional formatting for your dropdown&lt;br /&gt;&lt;br /&gt;Error - the conditional formatting is GONE.  &lt;br /&gt;&lt;br /&gt;I had to implement a hack to get around this.  Basically I place the dropdown in a section.  I then apply the disable logic to the dropdown and then the hiding logic to the section.  Obviously this does not make me happy because it compromises the integrity of my underlying schema to have a UI element inter-twined with my main XSD schema.&lt;br /&gt;&lt;br /&gt;I really wish there was a way to separate the two.  I have a couple ideas, will post later.</description></item><item><title>Re: Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/18087.aspx</link><pubDate>Wed, 24 Aug 2005 19:49:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18087</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18087</wfw:commentRss><description>Patrick, thanks for the tips.  I noticed that I would lose the conditional formating when I publish the form.  Also, I am NOT using .NET code (and cannot use it based on various client reasons).  But the version of InfoPath I am using is SP1, so it seems to be a SP1 issue as a whole.&lt;br /&gt;&lt;br /&gt;Thanks for the prompt feedback.</description></item><item><title>Re: Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/18086.aspx</link><pubDate>Wed, 24 Aug 2005 18:03:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18086</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18086</wfw:commentRss><description>This may be the dom-event-handler problem. One of the worst bugs in SP1. We warned MS about this before SP1 was released and they thought they had fixed it, but unfortunately, it still repros. This only happens for .NET projects in Visual Studio. Workarounds ... well, there are situations where it occurs less frequently. If you always close VS after publishing your form, it happens less frequently. Also, don't preview from VS, but publish and test the form live. Last but not least, if you suspect a problem, extract the form files and windiff the manifest.xsf. The DOM event handler section is at the bottom. If it has been removed, add it back. Good luck!&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Dropdown and Sec Data Source make .xsl Invalid</title><link>https://www.infopathdev.com:443/forums/thread/17985.aspx</link><pubDate>Wed, 24 Aug 2005 14:54:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17985</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=17985</wfw:commentRss><description>I have run into a problem where I have lost several hours.  Has anyone else run into this problem.  Basically I have a couple dropdowns that connect to a web service to populate the dropdown.  When I try to preview the form I get this saying that .xsl is invalid.  After looking frantically for a solution I stumbled across this post below on google.  I went in and removed the dropdowns, and the offending error went away.  I have since found the exact offending dropdown, which also seems to be loosing its conditional formatting logic that was set for the control.&lt;br /&gt;&lt;br /&gt;Anyone have this issue before?  Resolutions???&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;"Yes, it is a bug. Sorry you ran into it, it's definitely something that we hope to fix in a future release. It occurs with certain dropdown list boxes that have conditional formatting and which get their values from a Secondary Data Source or the form's data source. "&lt;/font id="blue"&gt;&lt;br /&lt;a target="_blank" href=http://groups-beta.google.com/group/microsoft.public.infopath/browse_thread/thread/eb7527ebb1f0b1c6/58a65898e6bd1e99?lnk=st&amp;q=infopath+.xsl+is+not+valid&amp;rnum=6&amp;hl=en#58a65898e6bd1e99&gt;http://groups-beta.google.com/group/microsoft.public.infopath/browse_thread/thread/eb7527ebb1f0b1c6/58a65898e6bd1e99?lnk=st&amp;q=infopath+.xsl+is+not+valid&amp;rnum=6&amp;hl=en#58a65898e6bd1e99&lt;/a&gt;</description></item></channel></rss>