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 21154 - [XPROC10] XS0036
Summary: [XPROC10] XS0036
Status: NEW
Alias: None
Product: XML Processing Model
Classification: Unclassified
Component: Pipeline language (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Norman Walsh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 12:48 UTC by Tim Mills
Modified: 2013-02-28 12:48 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2013-02-28 12:48:39 UTC
The error XS0036 is defined as:

"All the step types in a pipeline or library must have unique names: it is a static error (err:XS0036) if any step type name is built-in and/or declared or defined more than once in the same scope."

Test p:declare-step-003 declares one step within another, each of which has an absent 'type' attribute.

<p:pipeline version="1.0" name="pipeline" xmlns:p="http://www.w3.org/ns/xproc">
  <p:declare-step>
   ...
  </p:declare-step>
</p:pipeline>

The specification does not make it clear whether this is considered a violation of the unique names constraint.