Closed Bug 150728 Opened 23 years ago Closed 23 years ago

Default values ignore for xml attributes

Categories

(Core :: XML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 69799

People

(Reporter: jay, Assigned: hjtoi-bugzilla)

Details

Mozilla seems to ignore default values for attributes given in a dtd. For instance if a dtd contained <!ATTLIST element attribute CDATA "default"> and a corresponding xml doc contained <element /> Mozilla should see that the same as <element attribute="default"/> This seems like the desired behavior, but may go against w3c's recomendation. IE does it, and XML::LibXML in perl has a $parser->complete_attribute() option that you can set to do it either way.
*** This bug has been marked as a duplicate of 69799 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
QA Contact: petersen → rakeshmishra
v.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.