<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>- Mapping</title>
        <link>http://geekswithblogs.net/LeonidGaneline/category/5981.aspx</link>
        <description>- Mapping</description>
        <language>en-US</language>
        <copyright>Leonid Ganeline</copyright>
        <managingEditor>leo.gan.57@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>BizTalk: Tips: cumulative map and schema testing</title>
            <link>http://geekswithblogs.net/LeonidGaneline/archive/2007/08/15/114699.aspx</link>
            <description>&lt;div&gt;
&lt;div&gt;This is a small tidbit for routine work. It don't take much time but help to work with schemas and maps systematically.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;First time:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;1).&lt;/strong&gt; For each map I create the &amp;lt;test-map&amp;gt; folder as:&lt;/div&gt;
&lt;div&gt;TestCases\&lt;/div&gt;
&lt;div&gt;                 Maps\&lt;/div&gt;
&lt;div&gt;                              &lt;wbr&gt;&lt;/wbr&gt;  A12_311_to_Canonical\&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;                              &lt;wbr&gt;&lt;/wbr&gt;  A12_915_to_Canonical\&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;2).&lt;/strong&gt; Get the first test source message and place it in the &amp;lt;test-map&amp;gt; folder. Create a copy of this message and name it "Current".&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;3).&lt;/strong&gt; Change the "TestMap Input Instance" property of the map to this name (for example as "&amp;lt;test-map&amp;gt;\Current.xml")&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;For testing:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;1)&lt;/strong&gt; Copy the test source message to the "test-map" folder with meaningful name (for example as "TwoR4.MustGiveError")&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;2)&lt;/strong&gt; Copy the whole text from this file to the Current file. Save Current. (I constantly keep open the Current file in the text editor.)&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;3).&lt;/strong&gt; Test the map.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;repeat 1-3.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;As result I have the full test set for my maps. I've never lost the test message. &lt;/div&gt;
&lt;div&gt;I always know where are my test messages and the name of the current test message, it is always the Current :) .&lt;br clear="all" /&gt;
&lt;/div&gt;
&lt;div&gt;This is a test driven approach. The test data are accumulated and never lost.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;div&gt;The same technique I use for test schemas (using theValidate Instance command). As a result I create such folder structure:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;TestCases\&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;                 Maps\&lt;/div&gt;
&lt;div&gt;                              &lt;wbr&gt;&lt;/wbr&gt;  A12_311_to_Canonical\&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;                              &lt;wbr&gt;&lt;/wbr&gt;  A12_915_to_Canonical\&lt;/div&gt;
&lt;div&gt;                                ...&lt;/div&gt;
&lt;div&gt;                Schemas\&lt;/div&gt;
&lt;div&gt;                                A12_311\&lt;/div&gt;
&lt;div&gt;                                A12_915\&lt;/div&gt;
&lt;div&gt;                                Canonical\&lt;/div&gt;
&lt;div&gt;                                ... &lt;/div&gt;
&lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;
Let me know what you think about this.&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114699"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114699" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/LeonidGaneline/aggbug/114699.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Leonid Ganeline</dc:creator>
            <guid>http://geekswithblogs.net/LeonidGaneline/archive/2007/08/15/114699.aspx</guid>
            <pubDate>Wed, 15 Aug 2007 20:58:50 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LeonidGaneline/comments/114699.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LeonidGaneline/archive/2007/08/15/114699.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LeonidGaneline/comments/commentRss/114699.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LeonidGaneline/services/trackbacks/114699.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk: Mapping: Script functoid: Type of the Input and output parameters</title>
            <link>http://geekswithblogs.net/LeonidGaneline/archive/2007/01/08/103086.aspx</link>
            <description>&lt;div&gt;Rule of thumb: &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;In the "Script Functoids - Inline C#" use only string types as the input and output parameters.&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;How it works:&lt;br /&gt;
If the C# method in the Script Functoids - Inline C#  has non-string parameter, it will be converted to the string on the "border" of this functoid!&lt;br /&gt;
Take in mind that the "real" type for Xml elements is "string", no matter how it was defined in the Schema. Xml only mimics the other types.&lt;/div&gt;
&lt;div&gt;The Xml holds the values serialized to string and vice versa.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;In our case the string "1" is desiarilazed to int 1.&lt;/div&gt;
&lt;div&gt;Example:&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;          &lt;/strong&gt;&lt;/em&gt;Script Functoids - Inline C#:  &lt;strong&gt; &lt;/strong&gt;&lt;em&gt;string MyMethod (int param1) { ... }&lt;/em&gt;&lt;/div&gt;
&lt;blockquote style="margin-right: 0px;" dir="ltr"&gt;
&lt;div&gt;Xml element: &lt;em&gt;&amp;lt;Element1&amp;gt;55&amp;lt;/Element1&amp;gt; ==&amp;gt;&lt;/em&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;
&lt;div&gt;The result will be like this: &lt;em&gt;int param1 = (int)"1";  MyMethod(param1);&lt;/em&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;In this place can be problems!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If we had &lt;em&gt;&amp;lt;Element1&amp;gt;55&amp;lt;/Element1&amp;gt;,&lt;/em&gt; we have no problems.&lt;br /&gt;
But we can have also: &lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;em&gt; &amp;lt;Element1&amp;gt;ABC&amp;lt;/Element1&amp;gt;&lt;br /&gt;
 &lt;/em&gt;or &lt;em&gt;&amp;lt;Element1&amp;gt;&amp;lt;/Element1&amp;gt;&lt;br /&gt;
 &lt;/em&gt;or &lt;em&gt;&amp;lt;Element1/&amp;gt;&lt;br /&gt;
&lt;/em&gt; or &lt;em&gt;node = null&lt;/em&gt; (that means there is not this node in the Xml document instance at all.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Those cases give us an exception:&lt;/div&gt;
&lt;blockquote style="margin-right: 0px;" dir="ltr"&gt;
&lt;div&gt;"Exception: Error encountered while executing the transform MyProject.MyMap.&lt;br /&gt;
Error:Transformation failed..: System.Xml.Xsl.XsltException: Function&lt;br /&gt;
'ScriptNS0:MyMethod()' has failed. ---&amp;gt; System.ArgumentException : Cannot&lt;br /&gt;
widen from target type to primitive type."&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;We don't need this result. The exceptions in the map are unwelcome!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Rule of thumb: &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Use ONLY string types for input parameters in the "Script Functoids - Inline C#".&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If we HAVE TO work with non-string types, move the type-conversion INSIDE the method. It prevents these exceptions. We could handle the type errors.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;em&gt;string MyMethod (string param1)&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;{&lt;/em&gt;&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;em&gt;string returnValue = "0";&lt;/em&gt;&lt;br /&gt;
&lt;em&gt; if (param1 ==  null || param1 == "") return returnValue;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt; try&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;{ // if we need to work with param1 as int!&lt;/em&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div style="margin-left: 80px;"&gt;&lt;em&gt; int param1_int;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt; param1_int = Convert.ToInt32(param1);&lt;/em&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;em&gt;}&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;catch(InvalidCastException ex) // to process the cases with "nonInt" param1:&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;{...}&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;...&lt;/em&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr style="width: 100%; height: 2px;" /&gt;
&lt;em&gt;&lt;/em&gt;&lt;/div&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=103086"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=103086" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/LeonidGaneline/aggbug/103086.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Leonid Ganeline</dc:creator>
            <guid>http://geekswithblogs.net/LeonidGaneline/archive/2007/01/08/103086.aspx</guid>
            <pubDate>Mon, 08 Jan 2007 20:26:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LeonidGaneline/comments/103086.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LeonidGaneline/archive/2007/01/08/103086.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/LeonidGaneline/comments/commentRss/103086.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LeonidGaneline/services/trackbacks/103086.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk: Mapper: Script functoids: Enhancement of the UI</title>
            <link>http://geekswithblogs.net/LeonidGaneline/archive/2006/01/28/67444.aspx</link>
            <description>&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;strong&gt;&lt;font size="4"&gt;BizTalk: Mapper: Script functoids: Enhancement of the UI&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Working with maps into the BizTalk Mapper more then a year, I've got some ideas how the Mapper can be improved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Look at the Script functoid. Usually I have a lot of them because only very simple logic I can implement with combination of other functoids. If I have more then one "If" then I use a Script functoid (SF).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;What I can see when I look at the map and try to understand logic of the SF? Nothing but only that "I have some logic inside". It is quite useless.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Want to know more? Click on the SF. Nothing changed. I have not get any information in the Property windows. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Trying to get information about SF I have to open windows under "Script" parameter to understand if this SF is Inline, External, XSLT template, or Inline XSLT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Why I want to know this? I've got a project with maps. The first thing I'm going to discover is the inner logic of the map. I try to find out all links with other assemblies, for this I try to found out all Script functoids with "External scripts". And now I have to make a lot of monkey work: click on the SF, click on the "Script" field in the Parameters window, click "a secret" button in this field. All these clicks for EACH SF!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Lets imagine that I would have four sorts of scripts functoids, not only "Script functoid" but "&lt;strong&gt;Script Inline&lt;/strong&gt;", "&lt;strong&gt;Script External&lt;/strong&gt;", "&lt;strong&gt;XSLT Template&lt;/strong&gt;", and "&lt;strong&gt;XSLT Inline&lt;/strong&gt;."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Lets imagine that when I click on the SF I've got the real parameters of this SF: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;For the Script External functoid: Assembly, Class, Method, Input and Output parameters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;For the Script Inline functoid: a &lt;strong&gt;Signature&lt;/strong&gt; of this script, Input and Output parameters, Language (C#, VB, JScript).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Not sure about last two. I didn't work with them at all.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;And of course, these SFs should get different &lt;strong&gt;icons&lt;/strong&gt; :)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Does somebody have any comments? It would be realy appreciated...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=67444"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=67444" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/LeonidGaneline/aggbug/67444.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Leonid Ganeline</dc:creator>
            <guid>http://geekswithblogs.net/LeonidGaneline/archive/2006/01/28/67444.aspx</guid>
            <pubDate>Sun, 29 Jan 2006 06:53:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LeonidGaneline/comments/67444.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LeonidGaneline/archive/2006/01/28/67444.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LeonidGaneline/comments/commentRss/67444.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LeonidGaneline/services/trackbacks/67444.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk: Mapping, Logical functoids, and Boolean values</title>
            <link>http://geekswithblogs.net/LeonidGaneline/archive/2006/01/13/65794.aspx</link>
            <description>&lt;h2 style="MARGIN: 12pt 0in 3pt"&gt;&lt;em&gt;&lt;font face="Arial"&gt;BizTalk: Mapping, Logical functoids, and Boolean values&lt;/font&gt;&lt;/em&gt;&lt;/h2&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Several times I've got "non intuitive" result by using boolean values in maps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;For example, I've tried to get values "true/false" or something else from the logical functoids for filling up the node in a Destination schema, but didn't get anything.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Here is my discovering using boolean value in the maps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;There are different flavors this problem:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;·&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Where we can use boolean values?&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;·&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Where we can get boolean values?&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;·&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;How we can fill in the nodes with boolean type?&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;·&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;How we can transform boolean values?&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Let’s start.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 style="MARGIN: 12pt 0in 3pt"&gt;&lt;font face="Arial"&gt;Script functoid&lt;/font&gt;&lt;/h3&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;In the xml document all values are the strings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;It should be (and it is!) non intuitive to transform them to/from the .NET bool values. It can be transformed by using Script functoids. (Pict.1)&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt; &lt;img alt="" src="http://images16.fotki.com/v281/photos/3/31551/3208638/ScriptFunctoid1-vi.gif?488113" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;I've tested two variants of "inline C#" scripts:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;I used the negation operator (“!”) to be sure I’m having a real transformation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;string BoolToString (bool paramBool )&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;return (!paramBool).ToString() ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;And&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;bool BoolToBool (bool paramBool )&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;span style="mso-tab-count: 1"&gt;            &lt;/span&gt;return (!paramBool);&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Results:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;1.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;When I changed the link from FieldBoolean node to Functoid to the link from FieldString to Functoid the results were the same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;2.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;When I changed the input value as “True” / ”true” / “TRUE” / “tRuE” the results were the same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;3.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;First script returned values “False” / “True” when I passed into it “true” / “false”. &lt;br /&gt;
Second script returned values “false” / “true” when I passed into it “true” / “false”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;4.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;When the input value were “1” / “0” I’ve got the errors.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Conclusion:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l4 level1 lfo2; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;1.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;Script functoid ignores the types of nodes. It always inputs/outputs the string values. Before/after passing them to/from the script it transforms them to the .NET type.&lt;/strong&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l4 level1 lfo2; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;2.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;Script functoid ignores the cases of the input values when transform them on the boundary of the script to the bool type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l4 level1 lfo2; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;3.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Script returns the bool values (transformed on the boundary of the script to the string type) as defined for Microsoft .NET Framework Class Library (see the References below). That’s mean bool values are “&lt;strong&gt;t&lt;/strong&gt;rue and “&lt;strong&gt;f&lt;/strong&gt;alse”, bool values transformed &lt;strong&gt;inside&lt;/strong&gt; script to the string values are “&lt;strong&gt;T&lt;/strong&gt;rue” and “&lt;strong&gt;F&lt;/strong&gt;alse”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l4 level1 lfo2; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;4.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;Script functoid implement only “Canonical representation” of the “boolean” type of XML schema not a “Lexical representation”&lt;/strong&gt; (see the References below). That’s mean the values “1” and “0” should not be used as boolean values in the Script functoid input.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 style="MARGIN: 12pt 0in 3pt"&gt;&lt;font face="Arial"&gt;Logical functoids&lt;/font&gt;&lt;/h3&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;It’s confusing from the start.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;When you see to the Help property of a Logical functoid you can see: “Returns &lt;strong&gt;TRUE&lt;/strong&gt; if the first parameter is equal to the second parameter.”&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;But into the Configure Functoid Inputs window&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;“Functoid description:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Use the Equal functoid to return the value “&lt;strong&gt;true&lt;/strong&gt;” if the first input parameter is equal to the second input parameter. This functoid requires two input parameters.”&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;We can see the different cases in the values.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Is that something mean for us?&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;I use several maps for testing the logical functoids. (If the Equal functoid is picted with one input link the second input parameter is usualy “true”.) : &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;img alt="" src="http://images16.fotki.com/v282/photos/3/31551/3208638/ScriptFunctoid2-vi.gif?464126" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;(Pict.2) &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Here I tried to get the output value from the logical functoid to the destination node.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;img alt="" src="http://images14.fotki.com/v255/photos/3/31551/3208638/ScriptFunctoid3-vi.gif?484108" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;(Pict.3)&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt; Here is the standard method of using the logical functoid.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;img alt="" src="http://images16.fotki.com/v279/photos/3/31551/3208638/ScriptFunctoid4-vi.gif?532124" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;(Pict.4) &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Here I tried to understand which values return the logical functoid.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Let’s start testing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Results:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo5; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;1.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;In first case the Logical functoid output didn’t create the destination values.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo5; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;2.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;When I’ve tried to use “True” or “TRUE” or something else as an argument in place of the logical argument (for example, as a first argument of Value mapping functoid) it didn’t match. Only “true” is working fine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo5; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;3.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;In the third test the second logical functoid matched only values “true”/”false” not “True”/”False” nor “TRUE”/”FALSE”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Conclusion:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo4; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;&lt;strong&gt;1.&lt;/strong&gt;&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;      &lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;We can not get the output value from the logical functoid to the destination node. Seems it could be used only as an input value for other functoids.&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo4; tab-stops: list .5in"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;2.&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;The logical functoids understand only the low case values, “true” and “false”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo4; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;&lt;strong&gt;3.&lt;/strong&gt;&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;The only place where I can use the “literal” logical value generated by the logical functoid is the input of another logical functoid, i.e. the functoid chain. And the logical functoids can only return the low case values, “true” and “false”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo4; tab-stops: list .5in"&gt;&lt;span style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size="2"&gt;&lt;strong&gt;4.&lt;/strong&gt;&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;Help property of a Logical functoid has an error. The logical functoids can return not “TRUE” but “true”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 style="MARGIN: 12pt 0in 3pt"&gt;&lt;font face="Arial"&gt;Other functoids&lt;/font&gt;&lt;/h3&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Some non-logical functoids can use the boolean values returned by the logical functoids. They are a Value mapping functoid and Value mapping (Flattening) functoid. Not sure about other functoids.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt; &lt;font face="Arial" size="2"&gt;&lt;img alt="" src="http://images16.fotki.com/v273/photos/3/31551/3208638/ScriptFunctoid5-vi.gif?482109" /&gt;&lt;/font&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;font face="Arial" size="2"&gt;(Pict.5)&lt;/font&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;IMHO Behavior of the Boolean values and the Logical functoids in the maps are not intuitive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 2.25pt double; mso-element: para-border-div"&gt;
&lt;p class="MsoPlainText" style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-padding-alt: 0in 0in 1.0pt 0in; mso-border-bottom-alt: double windowtext 2.25pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;References: &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;XML Schema&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt; Part 2: Datatypes Second Edition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;W3C Recommendation 28 October 2004:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;"...&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;3.2.2 boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;[Definition:] boolean has the ·value space· required to support the mathematical concept of binary-valued logic: {true, false}. &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;3.2.2.1 Lexical representation&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;An instance of a datatype that is defined as ·boolean· can have the following legal literals {true, false, 1, 0}. &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;3.2.2.2 Canonical representation&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;The canonical representation for boolean is the set of literals {true, false}. &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;..."&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 2.25pt double; mso-element: para-border-div"&gt;
&lt;p class="MsoPlainText" style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-padding-alt: 0in 0in 1.0pt 0in; mso-border-bottom-alt: double windowtext 2.25pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Microsoft .NET Framework Class Library:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;"…&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Boolean.TrueString Field&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Represents the Boolean value true as a string. This field is read-only.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;public static readonly string TrueString;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Remarks&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;This field is equal to the string "True".&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;…"&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 2.25pt double; mso-element: para-border-div"&gt;
&lt;p class="MsoPlainText" style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-padding-alt: 0in 0in 1.0pt 0in; mso-border-bottom-alt: double windowtext 2.25pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;SQL Server&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt; doesn't save the Boolean type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;It works with it in Logical operator, that’s all:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;SQL Server Books Online:&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;"...&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Logical Operators&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Logical operators test for the truth of some condition. Logical operators, like comparison operators, return a Boolean data type with a value of TRUE or FALSE.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;..."&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Arguments&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;boolean_expression&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;"...&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Is any valid Microsoft® SQL Server™ expression that returns a Boolean value: TRUE, FALSE, or UNKNOWN.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Result Types&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font size="2"&gt;..."&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=65794"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=65794" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/LeonidGaneline/aggbug/65794.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Leonid Ganeline</dc:creator>
            <guid>http://geekswithblogs.net/LeonidGaneline/archive/2006/01/13/65794.aspx</guid>
            <pubDate>Sat, 14 Jan 2006 01:45:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LeonidGaneline/comments/65794.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LeonidGaneline/archive/2006/01/13/65794.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LeonidGaneline/comments/commentRss/65794.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LeonidGaneline/services/trackbacks/65794.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk: Mapping Empty or Missing attributes and elements with different combinations of parameters: Required/Optional, Min/MaxOccurs, Default, Fixed</title>
            <link>http://geekswithblogs.net/LeonidGaneline/archive/2005/12/23/64034.aspx</link>
            <description>&lt;p&gt;Mapping Empty or Missing attributes and elements with different combinations of parameters: Required/Optional, Min/MaxOccurs, Default, Fixed&lt;/p&gt;
&lt;p&gt;When I am creating maps it is annoying to me guess which values I'm getting if I have to mapping Empty or Missing attributes/elements. I've made an investigation on the base of a Standard "XML Schema Part 0: Primer. W3C Recommendation, 2 May 2001".  &lt;br /&gt;
&lt;a href="http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/#OccurrenceConstraints"&gt;http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/#OccurrenceConstraints&lt;/a&gt; (below is this article). &lt;br /&gt;
&lt;strong&gt;I added the last column with my comments to the original table (in BizTalk mapping has got some differences from the standard!)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I used the BTS2004 Mapper and "Test Map" command. I've changed the properties of attribute and element in a target schema.&lt;br /&gt;
I was waiting that the behaviour of mapping should be the same as in standard.&lt;br /&gt;
Results are different in several points:&lt;br /&gt;
1) "Fixed" and "Default" properties don't change mapping. They only change validation and they have a different effect on validation.&lt;br /&gt;
2) "Required" property of attributes: If source attribute is missing the mapping creates the attribute with Empty value.&lt;br /&gt;
3) Something strange with "min/maxOccures" properties of elements: If they are (1,1), (-,1), (1,-), or (-,-) and source element is missing the mapping creates an element with Empty value! Only these combinations generate an element with Empty value, other combinations do not create an element.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;"&lt;br /&gt;
2.2.1 Occurrence Constraints &lt;br /&gt;
The comment element is optional within PurchaseOrderType because the value of the minOccurs attribute in its declaration is 0. In general, an element is required to appear when the value of minOccurs is 1 or more. The maximum number of times an element may appear is determined by the value of a maxOccurs attribute in its declaration. This value may be a positive integer such as 41, or the term unbounded to indicate there is no maximum number of occurrences. The default value for both the minOccurs and the maxOccurs attributes is 1. Thus, when an element such as comment is declared without a maxOccurs attribute, the element may not occur more than once. Be sure that if you specify a value for only the minOccurs attribute, it is less than or equal to the default value of maxOccurs, i.e. it is 0 or 1. Similarly, if you specify a value for only the maxOccurs attribute, it must be greater than or equal to the default value of minOccurs, i.e. 1 or more. If both attributes are omitted, the element must appear exactly once. &lt;/p&gt;
&lt;p&gt;Attributes may appear once or not at all, but no other number of times, and so the syntax for specifying occurrences of attributes is different than the syntax for elements. In particular, attributes can be declared with a use attribute to indicate whether the attribute is required (see for example, the partNum attribute declaration in po.xsd), optional, or even prohibited. &lt;/p&gt;
&lt;p&gt;Default values of both attributes and elements are declared using the default attribute, although this attribute has a slightly different consequence in each case. When an attribute is declared with a default value, the value of the attribute is whatever value appears as the attribute's value in an instance document; if the attribute does not appear in the instance document, the schema processor provides the attribute with a value equal to that of the default attribute. Note that default values for attributes only make sense if the attributes themselves are optional, and so it is an error to specify both a default value and anything other than a value of optional for use. &lt;/p&gt;
&lt;p&gt;The schema processor treats defaulted elements slightly differently. When an element is declared with a default value, the value of the element is whatever value appears as the element's content in the instance document; if the element appears without any content, the schema processor provides the element with a value equal to that of the default attribute. However, if the element does not appear in the instance document, the schema processor does not provide the element at all. In summary, the differences between element and attribute defaults can be stated as: Default attribute values apply when attributes are missing, and default element values apply when elements are empty. &lt;/p&gt;
&lt;p&gt;The fixed attribute is used in both attribute and element declarations to ensure that the attributes and elements are set to particular values. For example, po.xsd contains a declaration for the country attribute, which is declared with a fixed value US. This declaration means that the appearance of a country attribute in an instance document is optional (the default value of use is optional), although if the attribute does appear, its value must be US, and if the attribute does not appear, the schema processor will provide a country attribute with the value US. Note that the concepts of a fixed value and a default value are mutually exclusive, and so it is an error for a declaration to contain both fixed and default attributes. &lt;/p&gt;
&lt;p&gt;The values of the attributes used in element and attribute declarations to constrain their occurrences are summarized in Table 1. &lt;br /&gt;
"&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;meta content="Excel.Sheet" name="ProgId" /&gt;
&lt;meta content="Microsoft Excel 11" name="Generator" /&gt;
&lt;link href="MissedAndEmptyNodesByMapping_files/filelist.xml" rel="File-List" /&gt;
&lt;link href="MissedAndEmptyNodesByMapping_files/editdata.mso" rel="Edit-Time-Data" /&gt;
&lt;link href="MissedAndEmptyNodesByMapping_files/oledata.mso" rel="OLE-Object-Data" /&gt;&lt;style type="text/css"&gt;&lt;!--table
 {mso-displayed-decimal-separator:"\.";
 mso-displayed-thousand-separator:"\,";}
@page
 {margin:1.0in .75in 1.0in .75in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;}
tr
 {mso-height-source:auto;}
col
 {mso-width-source:auto;}
br
 {mso-data-placement:same-cell;}
.style0
 {mso-number-format:General;
 text-align:general;
 vertical-align:bottom;
 white-space:nowrap;
 mso-rotate:0;
 mso-background-source:auto;
 mso-pattern:auto;
 color:windowtext;
 font-size:10.0pt;
 font-weight:400;
 font-style:normal;
 text-decoration:none;
 font-family:Arial;
 mso-generic-font-family:auto;
 mso-font-charset:0;
 border:none;
 mso-protection:locked visible;
 mso-style-name:Normal;
 mso-style-id:0;}
td
 {mso-style-parent:style0;
 padding-top:1px;
 padding-right:1px;
 padding-left:1px;
 mso-ignore:padding;
 color:windowtext;
 font-size:10.0pt;
 font-weight:400;
 font-style:normal;
 text-decoration:none;
 font-family:Arial;
 mso-generic-font-family:auto;
 mso-font-charset:0;
 mso-number-format:General;
 text-align:general;
 vertical-align:bottom;
 border:none;
 mso-background-source:auto;
 mso-pattern:auto;
 mso-protection:locked visible;
 white-space:nowrap;
 mso-rotate:0;}
.xl24
 {mso-style-parent:style0;
 vertical-align:top;}
.xl25
 {mso-style-parent:style0;
 vertical-align:top;
 white-space:normal;}
.xl26
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
 vertical-align:top;}
.xl27
 {mso-style-parent:style0;
 vertical-align:top;
 border:.5pt solid windowtext;}
.xl28
 {mso-style-parent:style0;
 vertical-align:top;
 border:.5pt solid windowtext;
 white-space:normal;}
.xl29
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
 vertical-align:top;
 border-top:1.0pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:1.0pt solid windowtext;}
.xl30
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
 vertical-align:top;
 border-top:1.0pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:.5pt solid windowtext;}
.xl31
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
 vertical-align:top;
 border-top:1.0pt solid windowtext;
 border-right:1.0pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl32
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:1.0pt solid windowtext;}
.xl33
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:1.0pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl34
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:1.0pt solid windowtext;}
.xl35
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:.5pt solid windowtext;}
.xl36
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl37
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:1.0pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl38
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:none;
 border-right:.5pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:1.0pt solid windowtext;}
.xl39
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:none;
 border-right:.5pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:.5pt solid windowtext;}
.xl40
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:none;
 border-right:.5pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl41
 {mso-style-parent:style0;
 vertical-align:top;
 border-top:none;
 border-right:1.0pt solid windowtext;
 border-bottom:.5pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl42
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
white-space:normal;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:1.0pt solid windowtext;}
.xl43
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:.5pt solid windowtext;}
.xl44
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:.5pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl45
 {mso-style-parent:style0;
 font-weight:700;
 font-family:Arial, sans-serif;
 mso-font-charset:204;
 vertical-align:top;
 border-top:.5pt solid windowtext;
 border-right:1.0pt solid windowtext;
 border-bottom:1.0pt solid windowtext;
 border-left:.5pt solid windowtext;
 white-space:normal;}
.xl46
 {mso-style-parent:style0;
 text-align:left;
 vertical-align:top;
 white-space:normal;}
--&gt;&lt;/style&gt;
&lt;table style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" border="0" x:str=""&gt;
    &lt;colgroup&gt;&lt;col class="xl24" style="mso-width-source: userset; mso-width-alt: 8740" /&gt;&lt;col class="xl24" style="mso-width-source: userset; mso-width-alt: 5449" /&gt;&lt;col class="xl25" style="mso-width-source: userset; mso-width-alt: 10349" /&gt;&lt;col class="xl25" style="mso-width-source: userset; mso-width-alt: 13860" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td class="xl46" colspan="4" rowspan="4" x:str="It was annoing to guess which values I'll get if I have to mapping Empty or Missing attributes/elements. I've make an investigation on the base of a Standard " xml="" schema="" part="" primer.="" w3c="" may="" www.w3.org="" tr="" rec-xmlschema-0-20010502="" is="" this=""&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl24" style="mso-ignore: colspan" colspan="2"&gt; &lt;/td&gt;
            &lt;td class="xl25" style="mso-ignore: colspan" colspan="2"&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl24" style="mso-ignore: colspan" align="left" colspan="2" x:str="Table 1. Occurrence Constraints for Elements and Attributes  "&gt;Table 1. Occurrence Constraints for Elements and Attributes&lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;&lt;/td&gt;
            &lt;td class="xl25" style="mso-ignore: colspan" colspan="2"&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl24" style="mso-ignore: colspan" colspan="2"&gt; &lt;/td&gt;
            &lt;td class="xl25" style="mso-ignore: colspan" colspan="2"&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr class="xl26"&gt;
            &lt;td class="xl29" align="left"&gt;Elements&lt;/td&gt;
            &lt;td class="xl30" style="BORDER-LEFT: medium none" align="left"&gt;Attributes&lt;/td&gt;
            &lt;td class="xl30" style="BORDER-LEFT: medium none" align="left" x:str="Notes  "&gt;Notes&lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;&lt;/td&gt;
            &lt;td class="xl31" style="BORDER-LEFT: medium none" align="left"&gt;Notes [Leonid Ganeline]&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr class="xl26"&gt;
            &lt;td class="xl42" style="BORDER-TOP: medium none" align="left"&gt;(minOccurs, maxOccurs), fixed, defaul&lt;span style="DISPLAY: none"&gt;t&lt;/span&gt;&lt;/td&gt;
            &lt;td class="xl43" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;use, fixed, default&lt;/td&gt;
            &lt;td class="xl44" style="BORDER-TOP: medium none; BORDER-LEFT: medium none"&gt; &lt;/td&gt;
            &lt;td class="xl45" style="BORDER-TOP: medium none; BORDER-LEFT: medium none"&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl38" align="left"&gt;(1, 1) -, -&lt;/td&gt;
            &lt;td class="xl39" style="BORDER-LEFT: medium none" align="left"&gt;required, -, -&lt;/td&gt;
            &lt;td class="xl40" style="BORDER-LEFT: medium none" align="left"&gt;element/attribute must appear once, it may have any value&lt;/td&gt;
            &lt;td class="xl41" style="BORDER-LEFT: medium none" align="left"&gt;&lt;strong&gt;If source attrbute/element is missing the mapping creates the attribute/element with Empty value!&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl32" style="BORDER-TOP: medium none" align="left"&gt;(1, 1) 37, -&lt;/td&gt;
            &lt;td class="xl27" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;required, 37, -&lt;/td&gt;
            &lt;td class="xl28" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;element/attribute must appear once, its value must be 37&lt;/td&gt;
            &lt;td class="xl33" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;&lt;strong&gt;If source attrbute/element is missing the mapping creates the attribute/element with Empty value&lt;/strong&gt;, not 37! (Of course, Target XML doc doesn't pass the output validation.)&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl32" style="BORDER-TOP: medium none" align="left"&gt;(2, unbounded) 37, -&lt;/td&gt;
            &lt;td class="xl27" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;n/a&lt;/td&gt;
            &lt;td class="xl28" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;element must appear twice or more, its value must be 37; in general, minOccurs and maxOccurs values may be positive integers, and maxOccurs value may also be "unbounded"&lt;/td&gt;
            &lt;td class="xl33" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;&lt;strong&gt;If source attrbute/element is missing the mapping creates the attribute with Empty value and non an element!&lt;/strong&gt; I've tried different combinations of min/maxOccurs. &lt;strong&gt;Only (1,1),(-,1),(1,-), and (-,-) created an Empty element!&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl32" style="BORDER-TOP: medium none" align="left"&gt;(0, 1) -, -&lt;/td&gt;
            &lt;td class="xl27" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;optional, -, -&lt;/td&gt;
            &lt;td class="xl28" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;element/attribute may appear once, it may have any value&lt;/td&gt;
            &lt;td class="xl33" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left" x:str="exactly "&gt;exactly&lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl32" style="BORDER-TOP: medium none" align="left"&gt;(0, 1) 37, -&lt;/td&gt;
            &lt;td class="xl27" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;optional, 37, -&lt;/td&gt;
            &lt;td class="xl28" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;element/attribute may appear once, if it does appear its value must be 37, if it does not appear its value is 37&lt;/td&gt;
            &lt;td class="xl33" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;&lt;strong&gt;If source attrbute/element is missing Non attrbute/element is created! If source attrbute/element is != Fixed_value Non attrbute/element is changed to Fixed_value, it mapped from a source value&lt;/strong&gt;, And we've got the output validation errors.&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl32" style="BORDER-TOP: medium none" align="left"&gt;(0, 1) -, 37&lt;/td&gt;
            &lt;td class="xl27" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;optional, -, 37&lt;/td&gt;
            &lt;td class="xl28" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;element/attribute may appear once; if it does not appear its value is 37, otherwise its value is that given&lt;/td&gt;
            &lt;td class="xl33" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;&lt;strong&gt;If source attrbute/element is missing/empty Non attrbute/element is created!&lt;/strong&gt; If source attrbute/element is != Default_value Non attrbute/element is changed to Default_value, it mapped from a source value, And we have &lt;strong&gt;NOT&lt;/strong&gt; got the output validation errors.&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl32" style="BORDER-TOP: medium none" align="left"&gt;(0, 2) -, 37&lt;/td&gt;
            &lt;td class="xl27" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;n/a&lt;/td&gt;
            &lt;td class="xl28" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;element may appear once, twice, or not at all; if the element does not appear it is not provided; if it does appear and it is empty, its value is 37; otherwise its value is that given; in general, minOccurs and maxOccurs values may be positive integers, and maxOccurs value may also be "unbounded"&lt;/td&gt;
            &lt;td class="xl33" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;&lt;strong&gt;If source element is missing/empty Non element is created!&lt;/strong&gt; If source element is != Default_value non element is changed to Default_value, it mapped from a source value, And we have &lt;strong&gt;NOT&lt;/strong&gt; got the output validation error.&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl34" style="BORDER-TOP: medium none" align="left"&gt;(0, 0) -, -&lt;/td&gt;
            &lt;td class="xl35" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;prohibited, -, -&lt;/td&gt;
            &lt;td class="xl36" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;element/attribute must not appear&lt;/td&gt;
            &lt;td class="xl37" style="BORDER-TOP: medium none; BORDER-LEFT: medium none" align="left"&gt;exactly. BTW If I delete an element but save a whitespace on its place I've got an error"error btm1046: Output validation error: The element cannot contain text or white space. Content model is empty." (?)&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class="xl24" style="mso-ignore: colspan" align="left" colspan="4" x:str="Note that neither minOccurs, maxOccurs, nor use may appear in the declarations of global elements and attributes.  "&gt;Note that neither minOccurs, maxOccurs, nor use may appear in the declarations of global elements and attributes.&lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
“&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=64034"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=64034" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/LeonidGaneline/aggbug/64034.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Leonid Ganeline</dc:creator>
            <guid>http://geekswithblogs.net/LeonidGaneline/archive/2005/12/23/64034.aspx</guid>
            <pubDate>Sat, 24 Dec 2005 02:51:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LeonidGaneline/comments/64034.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LeonidGaneline/archive/2005/12/23/64034.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/LeonidGaneline/comments/commentRss/64034.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LeonidGaneline/services/trackbacks/64034.aspx</trackback:ping>
        </item>
        <item>
            <title>What I'd like to see in the BizTalk 2004 Mapper (and Schema Editor) at my routine work</title>
            <link>http://geekswithblogs.net/LeonidGaneline/archive/2005/12/23/64004.aspx</link>
            <description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang=EN-US&gt;IMHO &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang=EN-US&gt;What I'd like to see in the BizTalk 2004 Mapper (and Schema Editor) at my routine work:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;1.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;Names of Source and Destination schemas (maybe on the heads of the Source and Dest panes). Usually I work with more then one maps in one project and I have the long map's names as "CompanyNDocumentBlahBlah_TO_CompanyKDocumentBlah2Blah2". These names don't fit into the tab fields and I have to look to the Property window. I always have meaningless the Headers with text "Source/Destination schema". Why don't put here useful information? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;2.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;Icons of the records. I'd like to see on them a visual representation of a property the "Max Occurs" = "unbounded". The works with unbounded records is pretty different then work with "one exemplar" records (different semantic, different functoids). Different view of the Unbounded records help to avoid the typical errors. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;3.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;Icons of the nodes. It was useful to use the different flavors of the icons where we can get different behavior of the nodes. (2. above for example). Different views of the fields help to avoid the typical errors. &lt;BR&gt;Here is the list:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;a)&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;"Max Occurs" = "unbounded"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;b)&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;        &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;"Min Occurs" = "0"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;c)&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;        &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;&amp;#8220;include&amp;#8221;, &amp;#8220;import&amp;#8221;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;d)&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;        &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;&amp;#8220;Optional&amp;#8221;/&amp;#8221;Required&amp;#8221;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;4.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;Expression Editor??? In Orchestration Designer etc. It's so small, it can't be resized, and it can&amp;#8217;t be &amp;#8220;word-wrap-ed&amp;#8221;. Why don't made it like usual window that I can change its size, dock it where I like etc.? Now I have to scroll it all time! "Booooriiiiing (H.Simpson)" &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"&gt;&lt;SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;5.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;         &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US&gt;Add special window for big values. BTS has many points where the big (or huge!) values pop-up. Examples: - XPath values of Properties in the Properties window - messages and errors in the Task List - long names of the different objects in the Orchestration designer ... &lt;BR&gt;Now I hover cursor over and... do u like this tooltip? Or double-click and work in the specific window. Frequently I have to copy the value in Notepad and work with it. :(( &lt;BR&gt;If I could dock "Big values window" under Toolbox or Properties or somewhere else it would be great. &lt;BR&gt;Frankly, I&amp;#8217;d like to have "Big values window" like a standard part of VS.NET not only in the BTS environment. &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: SimSun; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;When I work with Scripting functoids they all have the same face: in the Map editor - [S], in the Property windows - the absolutely equality values for all functoids. If I want to know more (and of course I want!) I have to open Properties/Script window. &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: SimSun; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Does somebody have any comments? It would be realy appreciated...&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=64004"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=64004" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/LeonidGaneline/aggbug/64004.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Leonid Ganeline</dc:creator>
            <guid>http://geekswithblogs.net/LeonidGaneline/archive/2005/12/23/64004.aspx</guid>
            <pubDate>Fri, 23 Dec 2005 22:01:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LeonidGaneline/comments/64004.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LeonidGaneline/archive/2005/12/23/64004.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LeonidGaneline/comments/commentRss/64004.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LeonidGaneline/services/trackbacks/64004.aspx</trackback:ping>
        </item>
    </channel>
</rss>