Class XQueryParserExtensionPE

  • Direct Known Subclasses:
    XQueryParserExtensionEE

    public class XQueryParserExtensionPE
    extends SaxonSyntaxExtension
    Parser extension for syntax in XQuery Update and/or XQuery 3.0 that is supported only in Saxon-PE or -EE.
    • Constructor Detail

      • XQueryParserExtensionPE

        public XQueryParserExtensionPE()
    • Method Detail

      • isReservedInQuery

        protected boolean isReservedInQuery​(java.lang.String uri)
        Get the permitted set of standard functions in this environment
      • parseTypeAliasDeclaration

        public void parseTypeAliasDeclaration​(XQueryParser p)
                                       throws XPathException
        Parse a type alias declaration. Allowed only in Saxon-PE and higher, and only when Saxon syntax extensions are enabled Syntax: declare type QName = ItemType;
        Overrides:
        parseTypeAliasDeclaration in class ParserExtension
        Parameters:
        p - the XPath parser
        Throws:
        XPathException - if parsing fails