1

I have a problem with my XML syntax. Here is my code :

<scene thumburl="https://monserver.com/image.jpg?width=200&height=140&fit=crop&imgopt=1"> </scene>

And the resulting error :

"The reference to entity "height" must end with the ';' delimiter."

I think that the parser does not consider: "https://monserver.com/image.jpg?width=200&height=140&fit=crop&imgopt=1" as a variable and try to parse it. How can I correct that?

P.S : This is an example URL, it is not supposed to work. The problem is about XML syntax, not my website.

Thank you!

1
  • Link not working. Please revise. Commented Jul 31, 2017 at 11:41

1 Answer 1

1

Replace & with &amp;

https://monserver.com/image.jpg?width=200&amp;height=140&amp;fit=crop&amp;imgopt=1

You can check this answer : Whats the difference between & and &amp; in HTML5?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.