Bug 274

Summary: [MapLab] Patches to factory.php and mapserv_401.xml
Product: MapLab Reporter: Daniel Morissette <dmorissette@mapgears.com>
Component: map editorAssignee: maplab-dev <maplab-dev@lists.maptools.org>
Status: NEW    
Severity: normal    
Priority: P2    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments: New version of factory.php
New version of mapserv_401.xml

Description From 2004-03-11 09:18:03
-------- Original Message --------
Subject: The contribution on MapLab 2.1 rc3
Date: Thu, 11 Mar 2004 09:46:55 +0100
From: VILLOIN Franck DSIC BMS <Franck.VILLOIN@interieur.gouv.fr>
To: dmorissette@dmsolutions.ca

Hello,

Excuse me but i am not speak English,

I have modified the source of factory.php because maplab 2.1 rc3 not accept
in the field text the single quotes ( ' ).
With the maplab : select DeptMacaoNew.*,Stats.* from DeptMacaoNew LEFT JOIN
'E:/WebSIG/CarteServeur/SG-DSIC/Carte/Stats.dbf'.Stats ON
DeptMacaoNew.MACAOZONE=Stats.CODE is not valid.

I modified the lignes 2960 to 2985 in factory.php and the text field accept
the single quote.

The new of factory.php

 <<factory.php>> 

And I have modified the mapserv_40.xml ==> mapserv_401.xml I have changed
the ligne :
<LAYER NAME="Layer" SUBOBJECTS="METADATA|PROJECTION|CLASS|JOIN|FEATURE|GRID"
MULTIPLICITY="*">
and 
<CLASS NAME="Class" SUBOBJECTS="LABEL|STYLE" MULTIPLICITY="*">


and I insert into JOIN OBJECT

<SEP3 NAME="" TYPE="SEPARATOR" DEFAULT="OFF"></SEP3>      
  <TEMPLATE NAME="Template" TYPE="FILENAME" DEFAULT=""></TEMPLATE>  

the new mapserv_401.xml


 <<mapserv_401.xml>> 

Thank you see
------- Comment #1 From 2004-03-11 09:19:50 -------
Created an attachment (id=24) [details]
New version of factory.php
------- Comment #2 From 2004-03-11 09:20:19 -------
Created an attachment (id=25) [details]
New version of mapserv_401.xml