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 12852 - [Ser30] Error in serialization parmeters schema
Summary: [Ser30] Error in serialization parmeters schema
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Serialization 3.0 (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Windows NT
: P2 trivial
Target Milestone: ---
Assignee: Henry Zongaro
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2011-06-02 09:01 UTC by Tim Mills
Modified: 2011-07-28 10:43 UTC (History)
1 user (show)

See Also:


Description Tim Mills 2011-06-02 09:01:31 UTC
The schema for the media-type element restricts its value to yes/no, but media-type should be a string.

<xs:element id="media-type" name="media-type" type="output:yes-no-param-type" substitutionGroup="output:serialization-parameter-element"/>
Comment 1 Henry Zongaro 2011-06-06 17:22:36 UTC
Yes, I agree.  That must have been a copy-and-paste error on my part.
Comment 2 Henry Zongaro 2011-07-28 10:21:00 UTC
I have changed the element declaration for the media-type parameter to read:

     - Serialization parameter element for media-type parameter
  <xs:element id="media-type" name="media-type" type="output:string-param-type"

Tim, may I ask you to close the bug report if you are satisfied with this change.
Comment 3 Tim Mills 2011-07-28 10:43:51 UTC