Named entity expected. Got none.

26,877 views
Skip to first unread message

agrippaz

unread,
Dec 28, 2014, 1:49:28 PM12/28/14
to shif...@googlegroups.com
When editing HTML, I have the following code calling an image:


This causes the built-in code validator to throw: "Named entity expected. Got none." for that line.

It seems to be related to "&" in the src URL. The following does not cause an error:

agrippaz

unread,
Dec 28, 2014, 2:14:20 PM12/28/14
to shif...@googlegroups.com
Changing the & to & seems to resolve this. Not sure if this normal behavior or not; I usually just use & in URLs.

Adam Jimenez

unread,
Dec 28, 2014, 5:15:49 PM12/28/14
to shiftedit
It's technically correct to use & albeit pedantic.

--
You received this message because you are subscribed to the Google Groups "ShiftEdit - Web based IDE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiftedit+...@googlegroups.com.
To post to this group, send email to shif...@googlegroups.com.
Visit this group at http://groups.google.com/group/shiftedit.
For more options, visit https://groups.google.com/d/optout.



--
Best regards,
Adam Jimenez

ShiftCreate Limited

Nasser Moore

unread,
May 1, 2015, 3:55:41 PM5/1/15
to shif...@googlegroups.com
You should actually use %26 instead because I don't think you can use HTML entities in URLs
Reply all
Reply to author
Forward
0 new messages