Hi all,

I try setting
parser->setStandardUriConformant(true);
onmy DOMParser and I got an exception with the following result :

An exception occurred! Type:MalformedURLException, Message:No protocol
prefix present

It seems that it occurs on the first line of my file since the exception
is even thrown when using parseFirst().

Though I can't find anything wron g with my file, nor it does anything
when trying to change the first element tag.



<?xml version="1.0" encoding="utf-8" ?>
<log xmlns="http://www.elodig.fr/logs";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.elodig.fr/logs
file:///eloworld/configuration/xsd/elomsn_logs.xsd">
        <id>1</id>
        <bubu></bubu>
        <extension>base</extension>
        <event_type>action</event_type>
        <data type="bubu">
                <data_element>
                        <element_name>bibi</element_name>
                        <element_value>il est content</element_value>
                </data_element>
                <data_element>
                        <element_name>bubu</element_name>
                        <element_value>il est pas content</element_value>
                </data_element>
        </data>
</log>



Thanks for any help,
 - Emmanuel

-- 
Directeur
Elodig SARL
30-32, avenue de la République
94800 Villejuif
Tel:    01 46 77 47 68
E-mail: [EMAIL PROTECTED]
http://www.elodig.fr

Reply via email to