Closed Bug 6046 Opened 26 years ago Closed 25 years ago

document::doctype not implemented

Categories

(Core :: XML, defect, P3)

Other
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 8607

People

(Reporter: dbaron, Assigned: nisheeth_mozilla)

Details

document::doctype is not yet implemented, it seems. The above script stops when it is accessed with the error: JavaScript error: document.doctype has no properties
Status: NEW → ASSIGNED
Target Milestone: M7
Yup, when I did my last pass to get the XML interfaces for Level 1 core working, I had to defer this till we moved over to the latest version of expat. I think we've made the switch now, but the older version didn't have any notification for doctype.
I misread a badly worded statement in the DOM-Level-1 and thought this applies to HTML too... but it doesn't (now that I read a later part of the section). So I'm removing the test page (http://www.fas.harvard.edu/~dbaron/dom/test/Node) from this, since the doctype should be null for an HTML document.
Assignee: vidur → nisheeth
Status: ASSIGNED → NEW
Target Milestone: M7
Nisheeth, I was under the impression that the latest version of expat that we have does parse Document Type Declarations (http://www.w3.org/TR/REC-xml#dt-doctype). Looking at the code in the expat directory, it doesn't seem like that's the case. Nisheeth, I'm passing this bug on to you so that you can update our version of expat and make sure that the doctypedecl notification gets to the sink.
Status: NEW → ASSIGNED
Target Milestone: M9
Accepting bug and setting milestone to M9...
Component: DOM Level 1 → XML
Setting component to XML...
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 8607 ***
Status: RESOLVED → VERIFIED
Verified Dup
You need to log in before you can comment on or make changes to this bug.