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


          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

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

[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 UTC