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 1945 - Constr-compattr-compname-16: an element is not an attribute
Summary: Constr-compattr-compname-16: an element is not an attribute
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.6.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andreas Behm
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 18:08 UTC by Jonathan Robie
Modified: 2005-09-06 18:32 UTC (History)
0 users

See Also:


Attachments

Description Jonathan Robie 2005-09-01 18:08:50 UTC
MinimalConformance:Expressions:Construct:ComputeCon:ComputeConAttr:Constr-compattr-compname-16

 creates an element using "element
 {xdt:untypedAtomic('foo:attr')} {'text'}" but it
 expects "<elem foo:attr="text"/>" as the output -
 I guess the writer wanted to use "attribute
 {xdt:untypedAtomic('foo:attr')} {'text'}"
Comment 1 Andreas Behm 2005-09-06 18:32:11 UTC
updated test and expected file

<elem xmlns:foo="http://www.example.com/foo">{attribute
{xdt:untypedAtomic('foo:attr')} {'text'}}</elem>

returns

<elem xmlns:foo="http://www.example.com/foo" foo:attr="text"/>