Error Inconsistencies

the model of error is
<err:errors>
   (err:error*)
</err:errors>

and

<err:error
  name? = NCName
  type? = QName
  code? = QName
  href? = anyURI
  line? = integer
  column? = integer
  offset? = integer>
   (anyElement*)
</err:error>

but the p:error component A.1.3 Error

[[
For example, give the following invocation:

<p:error name="bad-document">
   <p:option name="code" value="12">
   <p:option name="description" value="The document element is unknown."/>
</p:error>

The error vocabulary element (and document) generated on the error
output port is:

<err:errors name="bad-document" type="p:error">
<err:error code="12">
The document element is unknown
</err:errors>
</err:errors>
]]

use 12 as a QName
and put attributes on err:errors

Mohamed
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Tuesday, 1 May 2007 13:09:18 UTC