Teiid misinterprets relative location of XSD when doc model is in different folder: causes
Unknown Query Metadata error
-----------------------------------------------------------------------------------------------------------------------
Key: TEIID-1315
URL:
https://jira.jboss.org/browse/TEIID-1315
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.1.1
Environment: SOA-P ER3, JBDS 4.0.0 Beta 1
Reporter: Paul Nittel
Assignee: Steven Hawkins
Fix For: 7.1.1
I executed E2eAudioBooksVdbExecutionTestScript_Teiid7 and found I could not query the
BookSetMixed document. I received an exception which referred to "Unknown Query
Metadata". The test calls for refactoring the models into various folders and the XML
doc model winds up in <proj>/View/XMLDocuments. The XML Schemas are in
<proj>/Source/XMLSchemas. In the VDB's index file for the XML document model,
the path to the XSD is, for example: ../../Source/XmlSchemas/BookDatatypes.xsd. The query
engine is not treating this as a file system, however, and is unable to locate the XSD.
We refactored the XML document into the same fodler as the XSDs and the query then
worked.
I'll attach some artifacts.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira