- From: <bugzilla@jessica.w3.org>
- Date: Tue, 11 Sep 2012 20:40:59 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18838 Summary: [APPLET] encoding becomes version in version declaration Product: XPath / XQuery / XSLT Version: Last Call drafts Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Grammar Test Applets AssignedTo: jmdyck@ibiblio.org ReportedBy: andrew.eisenberg@us.ibm.com QAContact: public-qt-comments@w3.org Test case version_declaration-023-v3 led me to look at 3 queries: 1) xquery encoding "utf-8"; 1 eq 1 | VersionDecl [1:0 - 1:24] | StringLiteral "utf-8" [2:17 - 1:23] | Separator [2:17 - 1:24] <xqx:versionDecl> <xqx:version>utf-8</xqx:version> <!-- encoding: null --> </xqx:versionDecl> 2) xquery version "utf-8"; 1 eq 1 | VersionDecl [1:0 - 1:23] | StringLiteral "utf-8" [2:16 - 1:22] | Separator [2:16 - 1:23] <xqx:versionDecl> <xqx:version>utf-8</xqx:version> <!-- encoding: null --> </xqx:versionDecl> 3) xquery version "utf-8" encoding "utf-9"; 1 eq 1 | VersionDecl [1:0 - 1:40] | StringLiteral "utf-8" [2:16 - 1:22] | StringLiteral "utf-9" [2:33 - 1:39] | Separator [2:33 - 1:40] <xqx:versionDecl> <xqx:version>utf-8</xqx:version> <!-- encoding: "utf-9" --> </xqx:versionDecl> The first of these is turning an encoding into a version. Our parser needs to generate a parse tree that distinguishes the string literal that represents an encoding from a string literal that represents a version. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Tuesday, 11 September 2012 20:41:05 UTC