|
From: Thomas P. <tp...@un...> - 2015-07-02 12:52:42
|
Hi. eXist seems to add linebreaks between following xml-tags in mixed-content-nodes, I assume for pretty printing and indentation. For example when I save: ... <node> Lorem ipsum dolor sit amet, consectetur adipisici <highlighted>elit</highlighted><delection>, sed eiusmod tempor incidunt ut labore</deletion> et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in <node> ... in eXide and then reopen the file, I get: ... <node> Lorem ipsum dolor sit amet, consectetur adipisici <highlighted>elit</highlighted> <delection>, sed eiusmod tempor incidunt ut labore<deletion> et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in <node> ... This is a problem since the new linebreak is considered a whitespace, for example in oXygenXML. I already changed in the conf.xml: for indexer: preserve-whitespace-mixed-content="yes" for serializer: indent="no" reindexed the collection and restarted the database. Still the same behaviour. Do I have to rebuild the database? How can I deactivate pretty printing for mixed content nodes? With kind regards, Thomas. |