Search code examples
htmlurlxulxulrunnermalformed

What's wrong with this url?


Why is Xul app saying

XML Parsing Error: not well-formed

for:

    <browser class="AppBar" type="content" src="test.html?img1=img1.jpg&img2=img2.jpg" flex="4"/>

at the equals sign of &img2=img2.jpg"?

Note that it works without the parameters.


Solution

  • Ampersand &..

    The xml escape is generally &amp;

    <browser class="AppBar" type="content" src="test.html?img1=img1.jpg&amp;img2=img2.jpg" flex="4"/>