<?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: eval function doesnt work ! grrrr</title><link>https://www.infopathdev.com:443/forums/thread/61476.aspx</link><pubDate>Wed, 17 Nov 2010 09:35:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61476</guid><dc:creator>milko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61476.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61476</wfw:commentRss><description>&lt;p&gt;:-) grazie&lt;/p&gt;</description></item><item><title>Re: eval function doesnt work ! grrrr</title><link>https://www.infopathdev.com:443/forums/thread/61426.aspx</link><pubDate>Mon, 15 Nov 2010 16:42:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61426</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61426.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61426</wfw:commentRss><description>&lt;p&gt;The problem was that you have string value starting here with double quotes:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/data, &lt;strong&gt;--&amp;gt;&lt;/strong&gt;&amp;quot;&lt;strong&gt;&amp;lt;--&lt;/strong&gt;xdXDocument:GetDOM(&amp;quot;Fogliazioni_GDV_con_mese_e_giorno&amp;quot;)/tutto/date/data/dati_fogliazione/tot_pagine_giornale/valore - 40&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;then it finds another pair of double quotes here:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/data, &amp;quot;xdXDocument:GetDOM(&lt;strong&gt;--&amp;gt;&lt;/strong&gt;&amp;quot;&lt;strong&gt;&amp;lt;--&lt;/strong&gt;Fogliazioni_GDV_con_mese_e_giorno&amp;quot;)/tutto/date/data/dati_fogliazione/tot_pagine_giornale/valore - 40&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;and thinks the string is finished, even though it&amp;#39;s not.&amp;nbsp; If you need to use a string-within-a-string, you need to nest single quotes inside of double quotes, and double quotes inside of single quotes, so this would be fine:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;quot;xdXDocument:GetDOM(&amp;#39;Fogliazioni_GDV_con_mese_e_giorno&amp;#39;)/tutto/date/data/dati_fogliazione/tot_pagine_giornale/valore - 40&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;and this would be fine too:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#39;xdXDocument:GetDOM(&amp;quot;Fogliazioni_GDV_con_mese_e_giorno&amp;quot;)/tutto/date/data/dati_fogliazione/tot_pagine_giornale/valore - 40&amp;#39;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: eval function doesnt work ! grrrr</title><link>https://www.infopathdev.com:443/forums/thread/61411.aspx</link><pubDate>Mon, 15 Nov 2010 12:27:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61411</guid><dc:creator>milko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61411.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61411</wfw:commentRss><description>&lt;p&gt;eheheh i ask and reply.&lt;/p&gt;&lt;span id="result_box"&gt;&lt;span style="BACKGROUND-COLOR:#e6ecf9;COLOR:#000;"&gt;infopath seems to have a problem with double quotes. substituting double quotes with single quote all works fine:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="BACKGROUND-COLOR:#e6ecf9;COLOR:#000;"&gt;&lt;strong&gt;valutazione(data; &amp;#39;valore - 40&amp;#39;)&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="BACKGROUND-COLOR:#e6ecf9;COLOR:#000;"&gt; 
&lt;p&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>eval function doesnt work ! grrrr</title><link>https://www.infopathdev.com:443/forums/thread/61407.aspx</link><pubDate>Mon, 15 Nov 2010 09:01:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61407</guid><dc:creator>milko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61407.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61407</wfw:commentRss><description>&lt;p&gt;i&amp;#39;m not able to use eval function because of a error while infopath check the formula. is seems that the problem occur in the second argument, probably infopath wasnt able to solve the correct xpath.&lt;br /&gt;what can i do ?&lt;/p&gt;
&lt;p&gt;valutazione(data; &amp;quot;valore - 40&amp;quot;)&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;strong&gt;data&lt;/strong&gt;&lt;/u&gt; is a repeated section of a second connection and &lt;strong&gt;&lt;u&gt;valore&lt;/u&gt;&lt;/strong&gt; is a field of the same second connection.&lt;br /&gt;below the error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tipo di valore previsto: ,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Valore effettivo: nome&lt;br /&gt;valutazione(xdXDocument:GetDOM(&amp;quot;Fogliazioni_GDV_con_mese_e_giorno&amp;quot;)/tutto/date/data, &amp;quot;xdXDocument:GetDOM(&amp;quot;--&amp;gt;Fogliazioni_GDV_con_mese_e_giorno&amp;lt;--&amp;quot;)/tutto/date/data/dati_fogliazione/tot_pagine_giornale/valore - 40&amp;quot;)&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>