Problema com XML Mapper no Delphi 7.1

14/12/2005

1

Galera, tenho um arquivo .XML que está abaixo.
Utilizando o Utilitário XMLMapper em uma máquina com Delphi 6 instalado, ele mapeia direitinho o XML para o ClientDataSet.
Ja utilizando uma máquina com Delphi 7 ele apresenta problemas para mapear o mesmo XML que o Delphi 6 mapeou corretamente.
Ja achei uma atualização da Borland do dbrtl. Ja beixei, coloquei na pasta c:\winnt\system32 e o erro continua..

Agradeço a ajuda, segue anexo o XML :



<xml xmlns:s=´uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882´
xmlns:dt=´uuid:C2F41010-65B3-11d1-A29F-00AA00C14882´
xmlns:rs=´urn:schemas-microsoft-com:rowset´
xmlns:z=´#RowsetSchema´>
<s:Schema id=´RowsetSchema´>
<s:ElementType name=´row´ content=´eltOnly´>
<s:AttributeType name=´SERVICEACCOUNT´ rs:number=´1´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´20´
 rs:maybenull=´false´/>
</s:AttributeType>
<s:AttributeType name=´BUSINESSSERVICE´ rs:number=´2´
 rs:nullable=´true´ rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´50´/>
</s:AttributeType>
<s:AttributeType name=´BALANCE´ rs:number=´3´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´number´ rs:dbtype=´varnumeric´
 dt:maxLength=´20´ rs:scale=´0´ rs:precision=´38´/>
</s:AttributeType>
<s:AttributeType name=´CURRENCY´ rs:number=´4´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´3´/>
</s:AttributeType>
<s:AttributeType name=´PLANBALANCE´ rs:number=´5´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´number´ rs:dbtype=´varnumeric´
 dt:maxLength=´20´ rs:scale=´0´ rs:precision=´38´/>
</s:AttributeType>
<s:AttributeType name=´ACCOUNT´ rs:number=´6´ rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´20´
 rs:maybenull=´false´/>
</s:AttributeType>
<s:AttributeType name=´FIRSTNAME´ rs:number=´7´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´50´/>
</s:AttributeType>
<s:AttributeType name=´LASTNAME´ rs:number=´8´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´50´/>
</s:AttributeType>
<s:AttributeType name=´COMPANY´ rs:number=´9´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´60´/>
</s:AttributeType>
<s:AttributeType name=´ADDRESS1´ rs:number=´10´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´60´/>
</s:AttributeType>
<s:AttributeType name=´ADDRESS2´ rs:number=´11´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´60´/>
</s:AttributeType>
<s:AttributeType name=´CITY´ rs:number=´12´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´40´/>
</s:AttributeType>
<s:AttributeType name=´STATE´ rs:number=´13´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´20´/>
</s:AttributeType>
<s:AttributeType name=´ZIP´ rs:number=´14´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´30´/>
</s:AttributeType>
<s:AttributeType name=´HOMEPHONE´ rs:number=´15´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´30´/>
</s:AttributeType>
<s:AttributeType name=´EMAIL´ rs:number=´16´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´48´/>
</s:AttributeType>
<s:AttributeType name=´STATUS´ rs:number=´17´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´20´/>
</s:AttributeType>
<s:AttributeType name=´SERVICE´ rs:number=´18´ rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´20´
 rs:maybenull=´false´/>
</s:AttributeType>
<s:AttributeType name=´NIC´ rs:number=´19´ rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´4´
 rs:maybenull=´false´/>
</s:AttributeType>
<s:AttributeType name=´INCOMINGNUMBER´ rs:number=´20´
 rs:nullable=´true´ rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´30´/>
</s:AttributeType>
<s:AttributeType name=´DEVICEID´ rs:number=´21´ rs:nullable=´true´
 rs:writeunknown=´true´>
<s:datatype dt:type=´string´ rs:dbtype=´str´ dt:maxLength=´50´/>
</s:AttributeType>
<s:extends type=´rs:rowbase´/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row SERVICEACCOUNT=´367988482746´ BUSINESSSERVICE=´tva´
 BALANCE=´44.22´ CURRENCY=´BRL´ ACCOUNT=´199224270´ FIRSTNAME=´PRIMEIRA´
 LASTNAME=´TVA ESCOLHA´ HOMEPHONE=´33231124´ STATUS=´ACTIVE´
 SERVICE=´n2p´ NIC=´200´ INCOMINGNUMBER=´011551124240292´
 DEVICEID=´00109900fd88´/>
</rs:data>
</xml>



Responder