This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 443 - Schema and DTD require unnecessary attributes for XPathExpression.evaluate
Summary: Schema and DTD require unnecessary attributes for XPathExpression.evaluate
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-20 13:11 UTC by Curt Arnold
Modified: 2003-12-20 19:42 UTC (History)
0 users

See Also:


Attachments
Transform and tests fixes for XPathExpression.evaluate (7.68 KB, patch)
2003-12-20 13:14 UTC, Curt Arnold
Details

Description Curt Arnold 2003-12-20 13:11:12 UTC
L3 XPath contains two evaluate functions, one on XPathEvaluator and one on 
XPathExpression.  dom-to-dtd and dom-to-schema will generate the element 
definition based on the first method signature encountered which results in 
attributes resolver and expression being required which do not appear in the 
signature of XPathExpression.

The resolution is to place a preconstructed evaluate element in the transforms 
and remove the extra attributes that were placed in the tests just to satisify 
validation.
Comment 1 Curt Arnold 2003-12-20 13:14:06 UTC
Created attachment 136 [details]
Transform and tests fixes for XPathExpression.evaluate