Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1721 by aalto.t...@gmail.com: XML library replaces the XML-header/declaration double quote characters with single quote characters
http://code.google.com/p/robotframework/issues/detail?id=1721

The XML library seems to replace the XML-header/declaration double quote characters with single quote characters.

Example, if I have xml header that looks like this:
<?xml version="1.0" encoding="UTF-8"?>

When I have this test suite:
*** Settings ***
Library           XML

*** Test Cases ***
xml file open and save
    ${xml}    Parse Xml    in.xml
    Save Xml    ${xml}    out.xml

Then xml header is:
<?xml version='1.0' encoding='UTF-8'?>
But I would have assumed that header would stay like this:
<?xml version="1.0" encoding="UTF-8"?>

The other quote characters are not changed during the Parse Xml and Save Xml keywords.

C:\XXX>pybot --version
Robot Framework 2.8.4 (Python 2.7.6 on win32)

Attachments:
        in.xml  379 bytes
        out.xml  382 bytes
        xml-parsing.txt  157 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to