Skip Menu |

This queue is for tickets about the XML-Smart CPAN distribution.

Report information
The Basics
Id: 11619
Status: resolved
Priority: 0/
Queue: XML-Smart

People
Owner: TMHARISH [...] cpan.org
Requestors: asher.aroussi [...] comverse.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.6.9
Fixed in: (no value)



Subject: Unrecognition of remarks at the beginning of the XML file
Hi. I'm using the XMLSmart to load our XML file. I have a root node named <all_config>. The beginning of the XML file is : <?xml version="1.0" encoding="UTF-8"?> <!--Sample XML file generated by XMLSPY v2004 rel. 4 U (http://www.xmlspy.com)--> <all_config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="S:\B67\SCS\src\App\ConfDir\sca_config.xsd"> After I save all the changes I made in the XML file, XMLSmart add <root> node before the <all_config> node. That causes us a problem. Why doesn't the XMLSmart recognize the second line as remarks and see that there is a root node ??? Of course, I check without the remarks and everything went smoothly. I hope to hear from you very soon. Thanks, Asher. BTW, your application is a killer one. Great job.
From: "Graciliano M. P." <gmpowers [...] terra.com.br>
To: <bug-XML-Smart [...] rt.cpan.org>
Subject: Re: [cpan #11619] Unrecognition of remarks at the beginning of the XML file
Date: Tue, 22 Feb 2005 22:23:08 -0300
RT-Send-Cc:
What parser are you using? By the way, your XML is not well formated, since you are not closing the tag all_config with /. I tested it well formated and root is not added. If you use the HTML parser (not well formated) it will load the comment as a TAG, so, there isn't a root node and root is added when the XML is generated again. Regards, Graciliano M. P. Show quoted text
----- Original Message ----- From: "Guest via RT" <bug-XML-Smart@rt.cpan.org> To: <undisclosed-recipients:> Sent: Tuesday, February 22, 2005 12:33 PM Subject: [cpan #11619] Unrecognition of remarks at the beginning of the XML file
> > This message about XML-Smart was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=11619 > > > Hi. > I'm using the XMLSmart to load our XML file. I have a root node named
<all_config>. The beginning of the XML file is :
> > <?xml version="1.0" encoding="UTF-8"?> > <!--Sample XML file generated by XMLSPY v2004 rel. 4 U
(http://www.xmlspy.com)--> xsi:noNamespaceSchemaLocation="S:\B67\SCS\src\App\ConfDir\sca_config.xsd">
> After I save all the changes I made in the XML file, XMLSmart add <root>
node before the <all_config> node. That causes us a problem.
> Why doesn't the XMLSmart recognize the second line as remarks and see that
there is a root node ???
> > Of course, I check without the remarks and everything went smoothly. > I hope to hear from you very soon. > Thanks, Asher. > > BTW, your application is a killer one. Great job. > > E-mail classificado pelo Identificador de Spam Inteligente Terra. > Para alterar a categoria classificada, visite >
http://www.terra.com.br/centralunificada/emailprotegido/imail/imail.cgi?+_u= gmpowers&_l=1,1109086273.840828.30371.rucuru.terra.com.br,2695,Des15,Des15
> > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: McAfee VirusScan / Atualizado em 21/02/2005 / Versão:
4.4.00 - Dat 4431
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 21/2/2005 > >
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 21/2/2005
From: "Graciliano M. P." <gmpowers [...] terra.com.br>
To: <bug-XML-Smart [...] rt.cpan.org>, <"undisclosed-recipients:" [...] rosario.terra.com.br>
Subject: Re: [cpan #11619] Unrecognition of remarks at the beginning of the XML file
Date: Tue, 22 Feb 2005 22:23:40 -0300
RT-Send-Cc:
Show quoted text
----- Original Message ----- From: "Guest via RT" <bug-XML-Smart@rt.cpan.org> To: <undisclosed-recipients:> Sent: Tuesday, February 22, 2005 12:33 PM Subject: [cpan #11619] Unrecognition of remarks at the beginning of the XML file
> > This message about XML-Smart was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=11619 > > > Hi. > I'm using the XMLSmart to load our XML file. I have a root node named
<all_config>. The beginning of the XML file is :
> > <?xml version="1.0" encoding="UTF-8"?> > <!--Sample XML file generated by XMLSPY v2004 rel. 4 U
(http://www.xmlspy.com)--> xsi:noNamespaceSchemaLocation="S:\B67\SCS\src\App\ConfDir\sca_config.xsd">
> After I save all the changes I made in the XML file, XMLSmart add <root>
node before the <all_config> node. That causes us a problem.
> Why doesn't the XMLSmart recognize the second line as remarks and see that
there is a root node ???
> > Of course, I check without the remarks and everything went smoothly. > I hope to hear from you very soon. > Thanks, Asher. > > BTW, your application is a killer one. Great job. > > E-mail classificado pelo Identificador de Spam Inteligente Terra. > Para alterar a categoria classificada, visite >
http://www.terra.com.br/centralunificada/emailprotegido/imail/imail.cgi?+_u= gmpowers&_l=1,1109086273.840828.30371.rucuru.terra.com.br,2695,Des15,Des15
> > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: McAfee VirusScan / Atualizado em 21/02/2005 / Versão:
4.4.00 - Dat 4431
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 21/2/2005 > >
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 21/2/2005
RT-Send-CC: gmpowers [...] terra.com.br
Resolved by Graciliano