Taher,

Thanks for your reply. I am planning a collection of BI data collection 
services that may require a large set of tables in OLAP. My thought was to put 
related defs in separate files for a logical organization and just include them 
in the master def files. It's not a big deal to put all in one file, it just 
seemed more organized.

Thanks again,
Max

-----Original Message-----
From: Taher Alkhateeb [mailto:slidingfilame...@gmail.com] 
Sent: Monday, April 03, 2017 12:01 PM
To: user@ofbiz.apache.org
Subject: Re: entitydef XIncludes

Hi Max,

You can't (violates the XML schemas) but why would you anyway? Why not define 
the new entities directly in the XML file? Or why not create a new file for 
that purpose? Seems strange that you want to compose files.


On Apr 3, 2017 8:38 PM, "Max Peak" <maxxp...@gmail.com> wrote:

Greetings user list,



In order to add DB tables to the Business Intelligence app, I used XIncludes to 
import xml fragments into entitygroup.xml and entitymodel.xml.

On restart, entities were not added, and the err.log reports:



Invalid content was found starting with element 'xi:include'. One of 
'{copyright, author, version, default-resource-name, entity, view-entity, 
extend-entity}' is expected



Is there a way to structure the entitydefs with includes?



Max Peak

Reply via email to