Bug 11635 - Wrong error description for err:SEPM0010: "xhtml" is missing
Summary: Wrong error description for err:SEPM0010: "xhtml" is missing
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Serialization 1.0 (show other bugs)
Version: Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Henry Zongaro
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-01 17:55 UTC by Gabriel Petrovay
Modified: 2011-05-24 17:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Petrovay 2011-01-01 17:55:15 UTC
For the error: err:SEPM0010
the description is:

"It is an error if the output method is xml, the value of the undeclare-prefixes parameter is yes, and the value of the version parameter is 1.0."

this description is wrong because the error is thrown also fot method "xhtml". Therefore one of the following descriptions would be more correct:

"It is an error if the output method is xml [or xhtml], the value of the undeclare-prefixes parameter is yes, and the value of the version parameter is 1.0."
or
"It is an error if the output method is [of type] xml, the value of the undeclare-prefixes parameter is yes, and the value of the version parameter is 1.0."

The letter, of course if the notion of "xml serialization type exists"
Comment 1 Henry Zongaro 2011-01-04 10:26:36 UTC
Thank you for reporting this problem.  I believe the first alternative you suggested would be the better correction to make.

This is a personal response only - I am not speaking on behalf of the working groups.
Comment 2 Henry Zongaro 2011-05-24 16:48:40 UTC
At the joint teleconference of the XQuery and XSL working groups of 24 May 2011, the working groups decided to adopt your first proposal - to change error message SEPM0010 to read:

"It is an error if the output method is xml or xhtml, the value of the
undeclare-prefixes parameter is yes, and the value of the version parameter is
1.0."

This will be published as erratum SE.E19.

Gabriel, if you agree with this resolution, may I ask you to close the bug report?
Comment 3 Gabriel Petrovay 2011-05-24 17:13:49 UTC
Looks good!