Class URIQualifiedNameParser

java.lang.Object
org.rumbledb.compiler.URIQualifiedNameParser

public final class URIQualifiedNameParser extends Object
Parses XQuery 3.1 URIQualifiedName tokens (BracedURILiteral NCName) into expanded Name values. See XQuery 3.1.
  • Field Details

  • Method Details

    • parse

      public static Name parse(String tokenText, ExceptionMetadata metadata)
      Parameters:
      tokenText - full lexer text of one URIQualifiedName token, e.g. Q{http://ex}invoice
      metadata - for errors
      Returns:
      expanded name with absent prefix (per spec)