Closed Bug 283298 Opened 20 years ago Closed 20 years ago

Disable type-checking for non-elements

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: allan, Assigned: allan)

References

()

Details

Attachments

(2 files)

As far as I can see it does not make sense to try to get type information for
nodes that are not |nsIDOMElement|s, f.x. attributes.
Attached file "Testcase"
Example of what I mean, triggers a lot of errors ftm.
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
Attachment #175292 - Flags: review?(doronr)
Can you bind to an instance data node's attribute?  Schema does have attribute
validation.
(In reply to comment #3)
> Can you bind to an instance data node's attribute?

Yes you can, the testcase shows that.

> Schema does have attribute validation.

Then I guess, we just need to fix 283004 instead?
Let's look at this in bug 283004.

*** This bug has been marked as a duplicate of 283004 ***
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Attachment #175292 - Flags: review?(doronr)
This is in fact invalid. We need to support it.

Bug 283376 adds temporary handling, bug 283004 will fix it.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: