Summary: | HTML page load failure when javascript inside <script> includes && and xmlns is specified xhtml only on ubuntu | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Terry Knowlton <terry> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro | ||||
Priority: | P2 | ||||||
Version: | Other | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Terry Knowlton
2023-05-03 06:55:29 PDT
Your attachment actually gets parsed as HTML for me. What version of WebKitGTK? What version of shared-mime-info? You have the strings "xmlns" and "xhtml" in the first line of the input, so it's pretty reasonable for WebKit to treat the input as XHTML, and then the error is required because it is not valid XHTML. Remove that and it will probably work? Or you could try adding an HTML DOCTYPE. *** This bug has been marked as a duplicate of bug 232471 *** (In reply to Michael Catanzaro from comment #1) > Your attachment actually gets parsed as HTML for me. What version of > WebKitGTK? What version of shared-mime-info? > > You have the strings "xmlns" and "xhtml" in the first line of the input, so > it's pretty reasonable for WebKit to treat the input as XHTML, and then the > error is required because it is not valid XHTML. Remove that and it will > probably work? Or you could try adding an HTML DOCTYPE. It does work if I remove it. The problem for me is I only have read access to the html files and I am validating cross browser and cross platform compatibility which only appears to be failing for webkit on ubuntu in this particular case. For avoidance of doubt: that input is malformed, and you cannot expect it to do the same thing on different platforms. Sorry. :( |