Bug 274 - [MapLab] Patches to factory.php and mapserv_401.xml
: [MapLab] Patches to factory.php and mapserv_401.xml
Status: NEW
: MapLab
map editor
: 2.1
: PC Linux
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-03-11 09:18 by
Modified: 2004-03-11 09:20 (History)


Attachments
New version of factory.php (161.88 KB, text/plain)
2004-03-11 09:19, Daniel Morissette
Details
New version of mapserv_401.xml (21.84 KB, text/plain)
2004-03-11 09:20, Daniel Morissette
Details


Note

You need to log in before you can comment on or make changes to this bug.


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