Titanium JIRA Archive
Alloy (ALOY)

[ALOY-4] HTML grammar does not support unmatched <link> tag

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-07-19T11:52:05.000+0000
Affected Version/s2012 Sprint 14
Fix Version/s2012 Sprint 14
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-05-22T09:48:46.000+0000
Updated2014-06-22T13:21:16.000+0000

Description

Valid syntax for specifying a tag, typically used for including external stylesheets, is like this:
<html>
  <head>
    <link rel="stylesheet" href="index.css">
  </head>
  <body></body>
</html>
The current HTML grammar and generated parser though expect all HTML tags to be self-closing or have an end tag. We need to adjust the grammar and regenerate the HTML parser to account for tag syntax.

Comments

  1. Tony Lukasavage 2012-05-22

    [https://github.com/appcelerator/ZipTi/commit/3a1e682be87ef3498adcd5edc880b5cd17573386](https://github.com/appcelerator/ZipTi/commit/3a1e682be87ef3498adcd5edc880b5cd17573386)

JSON Source