<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
The "ampersand-lt-semicolon" got changed to "&lt;" at the nabble site.  Just to make sure the post makes sense I've changed the previous post.  See below...  Joe<br><div><br><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="4" color="#000000" style="font: 14.0px Helvetica; color: #000000"><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: rgb(0, 0, 221); -webkit-text-stroke-width: -1; "><font face="Helvetica" size="4" color="#000000" style="font: 14.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="4" style="font: 14.0px Helvetica"><b>SQL inequality and GXW files</b></font></span></span></b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm using 6.4.0RC3 on OSX 10.4.11 (Kyngesburye release) using the WxPython GUI.<span class="Apple-converted-space">  </span>I set up a where clause for a vector display (ATTR&lt;>'ABC'), which works fine.<span class="Apple-converted-space">  </span>I then save the workspace as "test.gxw".<span class="Apple-converted-space">  </span>No problem there.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">When I try to open the test.gxw workspace file I get the error message:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Error</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Reading workspace file &lt;..../test.gxw></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">failed. Invalid file, unable to parse XML document.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;unknown>:17:35: not well-formed (invalid token)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I open up the file using emacs and it immediately flags the "&lt;" in the "&lt;>" field:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;parameter name="where"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">    </span>&lt;value>ATTR&lt;>'ABC'&lt;/value></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;/parameter></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">since it believes the "&lt;" is opening a markup tag.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I edit the file to change "&lt;>" to "ampersand-lt-semicolon ampersand-gt-semicolon" and try to open the workspace file again.<span class="Apple-converted-space">  </span>This time the workspace gets loaded just fine.<span class="Apple-converted-space">  </span>Tried to save with the SQL "cat&lt;10".<span class="Apple-converted-space">  </span>File saves OK but I get the same error when trying to open that gxw file.<span class="Apple-converted-space">  </span>I change the "&lt;10" to "ampersand-lt-semicolon 10" and the file opens and the vector displays no problem.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I guess the GXW save facility needs to check for the "&lt;" symbol and replace it with "ampersand-lt-semicolon"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Joe</div> </blockquote></div><br></body></html>