record TXQParsingOptions

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXQParsingOptions = record

Description

Record grouping different parsing options

Overview

Fields

AllowExtendedStrings: boolean;
AllowPropertyDotNotation: TXQPropertyDotNotation;
AllowJSON: boolean;
AllowJSONLiterals: boolean;
StringEntities: (xqseDefault, xqseIgnoreLikeXPath, xqseResolveLikeXQuery);
LineEndingNormalization: (xqlenNone, xqlenXML1, xqlenXML11);
AllowMutableVariables: boolean;

Description

Fields

AllowExtendedStrings: boolean;

If strings with x-prefixes are allowed, like x"foo{$variable}bar" to embed xquery expressions in strings

AllowPropertyDotNotation: TXQPropertyDotNotation;

If it is possible to access (json) object properties with the ($obj).property or even $obj.property syntax (default is xqpdnAllowUnambiguousDotNotation, property syntax can be used, where a dot would be an invalid expression in standard xquery)

AllowJSON: boolean;

If {"foo": bar} and [..] can be used to create json objects/arrays (default false, unless xquery_json was loaded, then it is true)

AllowJSONLiterals: boolean;

If true/false/null literals are treated like true()/false()/jn:null() (default true! However, this option is ignored and handled as false, if allowJSON is false).

StringEntities: (xqseDefault, xqseIgnoreLikeXPath, xqseResolveLikeXQuery);

XQuery is almost a super set of XPath, except for the fact that they parse string entities differently. This option lets you change the parsing behaviour.

LineEndingNormalization: (xqlenNone, xqlenXML1, xqlenXML11);

If all line breaks (#$D or #$D,#$85,#$2028) should be replaced by #$A

AllowMutableVariables: boolean;

If $var := 123 without let should be allowed


Generated by PasDoc 0.14.0.