Bug 12852 - [Ser30] Error in serialization parmeters schema
[Ser30] Error in serialization parmeters schema
Status: CLOSED FIXED
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Serialization 3.0
Member-only Editors Drafts
PC Windows NT
: P2 trivial
: ---
Assigned To: Henry Zongaro
Mailing list for public feedback on specs from XSL and XML Query WGs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-02 09:01 UTC by Tim Mills
Modified: 2011-07-28 10:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"
        substitutionGroup="output:serialization-parameter-element"/>


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
Thanks.