Jump to content


Important Announcement!

Please read this post about our new Privacy Policy


Photo
* * * * * 1 votes

Encoding '<' and '>' in downloaded DTD files


  • Please log in to reply
No replies to this topic

#1 misterp

misterp

    Advanced Member

  • Members
  • 101 posts
  • Gender:Male
  • Location:Minnesota, USA


  • Translator for [No translator]
  • Extension Developer: Yes
  • Extensions: Newsfox
  • My OS Several

Posted 29 October 2014 - 03:56 PM

When I click Bugtracker on the home page a blank page opens, so I can't submit a bug there.

When a developer downloads a *.dtd file it may contain '<' and '>' for example

<!ENTITY sCdeleteKey "<DEL>">
<!ENTITY sCctrlKey "<CTRL>">
<!ENTITY sCshiftKey "<SHIFT>">
<!ENTITY sCaltKey "<ALT>">

This is not a valid DTD file. It needs to be encoded as

<!ENTITY sCdeleteKey "&lt;DEL&gt;">
<!ENTITY sCctrlKey "&lt;CTRL&gt;">
<!ENTITY sCshiftKey "&lt;SHIFT&gt;">
<!ENTITY sCaltKey "&lt;ALT&gt;">

It would be nice if Babelzilla could do this automatically.

Since I finally forgot to do it manually, which broke the application completely, I figured I'd ask.

-misterp, NewsFox dev


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users