W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2015

[Bug 29296] New: Adaptive Method, Error Recovery

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Nov 2015 13:42:10 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29296-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29296
           Summary: Adaptive Method, Error Recovery
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.1
          Assignee: cmsmcq@blackmesatech.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Sorry for creating so many new bug entries on adaptive serialization...

According to the spec, a "processor SHOULD attempt to recover by inserting an
implementation-defined error indicator into the output [...]". Could an example
be added to the spec how such an error indicator could look like?

Here are two XQuery examples that may lead to an error:

1. Error triggered by the XML output method ('standalone' and
'omit-xml-declaration' conflict):

  declare namespace output =
  declare option output:method 'adaptive';
  declare option output:omit-xml-declaration 'yes';
  declare option output:standalone 'yes';

2. Error triggered by the output of a function name (character that cannot be
represented by the chosen encoding):

  declare namespace output =
  declare option output:method 'adaptive';
  declare option output:encoding 'US-ASCII';
  declare function local:日本() { '...' };

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 16 November 2015 13:42:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:57 UTC