/lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-August/040339.html

https://github.com/whatwg/whatwg.org · HTML · 79 lines · 60 code · 12 blank · 7 comment · 0 complexity · 9bef9e627a5ed544bbde441c6508f20e MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] Parsing the string &lt;html&gt;
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20Parsing%20the%20string%20%3Chtml%3E&In-Reply-To=%3C0F8BA5A0576A5F44B0D188C2628265DA40709F73%40AMSPRD0611MB548.eurprd06.prod.outlook.com%3E">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <style type="text/css">
  10. pre {
  11. white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
  12. }
  13. </style>
  14. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  15. <LINK REL="Previous" HREF="082620.html">
  16. <LINK REL="Next" HREF="082619.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] Parsing the string &lt;html&gt;</H1>
  20. <!--htdig_noindex-->
  21. <B>Mohammad Al Houssami (Alumni)</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20Parsing%20the%20string%20%3Chtml%3E&In-Reply-To=%3C0F8BA5A0576A5F44B0D188C2628265DA40709F73%40AMSPRD0611MB548.eurprd06.prod.outlook.com%3E"
  23. TITLE="[whatwg] Parsing the string &lt;html&gt;">mha53 at mail.aub.edu
  24. </A><BR>
  25. <I>Fri Aug 2 06:18:28 PDT 2013</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="082620.html">[whatwg] Question on Limits in Adaption Agency Algorithm
  28. </A></li>
  29. <LI>Next message: <A HREF="082619.html">[whatwg] Parsing the string &lt;html&gt;
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#40339">[ date ]</a>
  33. <a href="thread.html#40339">[ thread ]</a>
  34. <a href="subject.html#40339">[ subject ]</a>
  35. <a href="author.html#40339">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>Hello,
  42. When parsing the string &lt;html&gt; the document should supposedly have an html root with head and body children. ( This is what live dom viewer shows at least) but according to the specs( if im not wrong) we only get the document with the html element and the stack of open elements will have html head and body elements in it. I have a feeling this is wrong but I am pretty sure this is what happens in the specs.
  43. Note that I still don't have a complete implementation. I am building the parser step by step trying to first parse the basic tags ( html head body title and few others).
  44. Any help is appreciated.
  45. Mohammad
  46. </PRE>
  47. <!--endarticle-->
  48. <!--htdig_noindex-->
  49. <HR>
  50. <P><UL>
  51. <!--threads-->
  52. <LI>Previous message: <A HREF="082620.html">[whatwg] Question on Limits in Adaption Agency Algorithm
  53. </A></li>
  54. <LI>Next message: <A HREF="082619.html">[whatwg] Parsing the string &lt;html&gt;
  55. </A></li>
  56. <LI> <B>Messages sorted by:</B>
  57. <a href="date.html#40339">[ date ]</a>
  58. <a href="thread.html#40339">[ thread ]</a>
  59. <a href="subject.html#40339">[ subject ]</a>
  60. <a href="author.html#40339">[ author ]</a>
  61. </LI>
  62. </UL>
  63. <hr>
  64. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  65. mailing list</a><br>
  66. <!--/htdig_noindex-->
  67. </body></html>