myql icon indicating copy to clipboard operation
myql copied to clipboard

UTF-8 Encoding issue when creating xml file

Open josuebrunel opened this issue 9 years ago • 1 comments

<?xml version="1.0" encoding="utf-8"?>
<table https="false" securityLevel="any" xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
        <meta>
                <author>Josue Kouka</author>
                <apiKeyURL>http://josuebrunel.org/api</apiKeyURL>
                <documentationURL>http://josuebrunel.org/doc.html</documentationURL>
                <description/>
                <sampleQuery>SELECT * FROM mytable</sampleQuery>
                <sampleQuery>SELECT name FROM mytable WHERE id=345</sampleQuery>
                <sampleQuery>SELECT * FROM mytable WHERE name=&quot;toto&quot;</sampleQuery>
        </meta>
        <bindings>
                <select itemPath="products.product" pollingFrequencySeconds="30" produces="xml">
                        <urls>
                                <url>http://lol.com/services?artist=$</url>
                                <url>http://lol.com/services/song=$</url>
                        </urls>
                        <inputs>
                                <key id="song" paramType="path" required="true" type="xs:string"/>
                                <key id="artist" paramType="path" required="false" type="xs:string"/>
                        </inputs>
                        <paging model="page">
                                <start default="1" id="ItemPage"/>
                                <total default="10"/>                                                                                 
                                <pageSize id="Count" max="25"/>                                                                       
                        </paging>                                                                                                     
                </select>                                                                                                             
        </bindings>                                                                                                                   
</table>                   

josuebrunel avatar Apr 09 '15 14:04 josuebrunel

Just avoid using _"_ instead of _'_ :smile:

josuebrunel avatar Apr 09 '15 15:04 josuebrunel