Re: [xml] BUG?

On Mon, Dec 08, 2008 at 10:34:06AM -0500, Mary Albanese wrote:
<h1><<br>PROBLEM CASE<br><h1>
<script language="javascript">

        document.write('<span>Shop Products</span>');


  I suggest you look at the output of 
  xmllint --debug document.html

assuming you used XML parsing... It will show you the structure of
the document you parsed. And then will probably help understanding
the output you're getting.

  Please also read
concerning HTML script rules and why that document doesn't do what
you're expecting even when parsing with HTML.

  In nutshell: document broken beyond recovery possible.
  Suggestion: fix the document(s)


Daniel Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]