You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Ruslan (JIRA)" <ji...@apache.org> on 2015/04/10 18:31:12 UTC
[jira] [Created] (CAY-2002) Modeler generated datamap does not
correspond to xsd schema
Ruslan created CAY-2002:
---------------------------
Summary: Modeler generated datamap does not correspond to xsd schema
Key: CAY-2002
URL: https://issues.apache.org/jira/browse/CAY-2002
Project: Cayenne
Issue Type: Bug
Components: Modeler
Affects Versions: 4.0.M2
Environment: Linux localhost 3.2.0-74-generic #109-Ubuntu SMP Tue Dec 9 16:45:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Ruslan
Priority: Trivial
To reproduce:
* Use the following schema:
http://cayenne.apache.org/schema/7/modelMap.xsd
* Create a query with ordering(s), prefetch(es) and qualifier in Modeler, save
* Validate resulting xml:
$xmllint --noout --schema modelMap.xsd datamap.map.xml
datamap.map.xml:26: element qualifier: Schemas validity error : Element '{http://cayenne.apache.org/schema/7/modelMap}qualifier': This element is not expected. Expected is ( {http://cayenne.apache.org/schema/7/modelMap}prefetch ).
datamap.map.xml fails to validate
Result: validation failed.
Expected: sequence of generated sub-elements of "query" element corresponds to the schema.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)