$input-context, by loading appropriate XML source files.
More...
#include <ExternalSourceLoader.h>
Inheritance diagram for KXQTS::ExternalSourceLoader:


Public Types | |
| typedef QHash< QString, QUrl > | SourceMap |
| enum | TargetOfURI { Document, URI } |
| typedef QHash< QString, VariableValue > | VariableMap |
| typedef QPair< QUrl, TargetOfURI > | VariableValue |
Public Member Functions | |
| virtual Patternist::SequenceType::Ptr | announceExternalVariable (const Patternist::QName name, const Patternist::SequenceType::Ptr &declaredType) |
| virtual Patternist::Item::Ptr | evaluateSingleton (const Patternist::QName name, const Patternist::DynamicContext::Ptr &context) |
| ExternalSourceLoader (const VariableMap &varMap, const Patternist::ResourceLoader::Ptr &resourceLoader) | |
$input-context, by loading appropriate XML source files.
Definition at line 34 of file ExternalSourceLoader.h.
| typedef QHash<QString, QUrl> KXQTS::ExternalSourceLoader::SourceMap |
In the XQTSCatalog.xml each source file in each test is refered to by a key, which can be fully looked up in the sources element. This QHash maps the keys to absolute URIs pointing to the source file.
Definition at line 87 of file ExternalSourceLoader.h.
| typedef QHash<QString, VariableValue> KXQTS::ExternalSourceLoader::VariableMap |
The first value is the variable name, and the second is the URI identifying the XML source file that's supposed to be loaded as a document.
This is one for every test case, except for rdb-queries-results-q5, rdb-queries-results-q17 and rdb-queries-results-q18(at least in XQTS 1.0).
Definition at line 96 of file ExternalSourceLoader.h.
| typedef QPair<QUrl, TargetOfURI> KXQTS::ExternalSourceLoader::VariableValue |
Identifies a variable declared for a test case in the XQTS file. The first value is the variable's local name, and the second is the type.
Definition at line 80 of file ExternalSourceLoader.h.
Definition at line 37 of file ExternalSourceLoader.h.
1.5.1