W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2012

[Bug 19597] New: [QT3TS] prohibit-all-optional-features-2

From: <bugzilla@jessica.w3.org>
Date: Thu, 18 Oct 2012 12:45:29 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19597-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19597

          Priority: P2
            Bug ID: 19597
          Assignee: oneil@saxonica.com
           Summary: [QT3TS] prohibit-all-optional-features-2
        QA Contact: public-qt-comments@w3.org
          Severity: normal
    Classification: Unclassified
                OS: Windows NT
          Reporter: tim@cbcl.co.uk
          Hardware: PC
            Status: NEW
           Version: Working drafts
         Component: XQuery 3 & XPath 3 Test Suite
           Product: XPath / XQuery / XSLT

This test:

     declare option prohibit-feature "all-optional-features";
     declare option require-feature "schema-aware";
     import schema namespace s = "http://www.w3.org/XQueryTest/RequireProhibitF
ature";
     ()

places the option declarations before the schema import, which is grammatically
incorrect.

[6]        Prolog        ::=
  ((DefaultNamespaceDecl | Setter | NamespaceDecl | Import) Separator)* 
  ((ContextItemDecl | AnnotatedDecl | OptionDecl) Separator)*

The option declarations come after declarations which affect namespace
bindings, ensuring that all namespaces are bound in time for expanding the
option qualified names.

It is therefore rather unfortunate that the option preventing schema import
will come after the import.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 18 October 2012 12:45:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 October 2012 12:45:34 GMT