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 15377 - [QT3] prod/Serialization.xml oddity
Summary: [QT3] prod/Serialization.xml oddity
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 00:39 UTC by Michael Dyck
Modified: 2012-01-02 16:13 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Dyck 2012-01-02 00:39:00 UTC
prod/Serialization.xml says:

   <description>Tests for the Serialization production</description>
   <link type="spec" document="http://www.w3.org/TR/xquery-30/"
      idref="doc-xquery30-Serialization"/>

But there is no "Serialization production" (no non-terminal named "Serialization"), and http://www.w3.org/TR/xquery-30/ does not have an element with id="doc-xquery30-Serialization".

(I'm also wondering whether Serialization belongs in prod/.)
Comment 1 Michael Kay 2012-01-02 09:38:50 UTC
I agree, these tests are miscategorized. I'm inclined to create a top-level catgegory ser with a test set for each serialization method. But there's also further work needed to define extra assertions for serialization tests, e.g. to match the output of serialization against a regular expression.
Comment 2 Michael Kay 2012-01-02 16:13:52 UTC
For the time being I have renamed the test set to

prod-OptionDecl.serialization

to restore the link with naming of productions.

Some of the tests are testing things in the serialization spec rather than in the XQuery spec. I don't think we need to worry too much about that distinction, but if we're going to start testing serialization systematically then I think it should probably be a new top-level category.