you would need to use the latest version from SVN. Or try to define the layer as <... type="shape" ...> ("ms" was added as synonym for shape).
Finally check the query string. I added a wiki entry how to do this here: http://svn.pmapper.net/trac/wiki/FaqDebugging#a9.Testofquerystrings armin On 24/09/2009 23:02, Homero Cavalcanti wrote: > Hi Armin > > I did the migration to p.mapper 4. > But the problem persist. > > Do you have any ideia? > > Thanks > Homero > > 2009/9/23 Armin Burger <armin.bur...@gmail.com>: >> On 23/09/2009 16:43, Homero Cavalcanti wrote: >>> Hi Armin >>> >>> I tried define <layer type="ms" name="MyTerrenos"> in search.xml. >>> But the problem persist. >>> >>> At log file pm_debug.log we can see the message below: >>> ==================================== >>> [23-Sep-2009 10:26:08] P.MAPPER debug info >>> Validation of search.xml file FAILED: >>> <br /> >>> <b>Warning</b>: DOMDocument::schemaValidate() [<a >>> >>> href='function.DOMDocument-schemaValidate'>function.DOMDocument-schemaValidate</a>]: >>> Element 'layer', attribute 'type': [facet 'enumeration'] The value >>> 'ms' is not an element of the set {'postgis', 'shape', 'xy', >>> 'oracle'}. in >>> <b>C:\ms4w\apps\pmapper\pmapper-3.2.0\incphp\query\search.php</b> >>> on line <b>66</b><br /> >>> <br /> >>> <b>Warning</b>: DOMDocument::schemaValidate() [<a >>> >>> href='function.DOMDocument-schemaValidate'>function.DOMDocument-schemaValidate</a>]: >>> Element 'layer', attribute 'type': 'ms' is not a valid value of the >>> local atomic type. in >>> <b>C:\ms4w\apps\pmapper\pmapper-3.2.0\incphp\query\search.php</b> on >>> line <b>66</b><br /> >>> ======================================================= >>> >> you need to use p.mapper 4 for this. >> >> armin >> > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users