Hi Arjan,
You can also change the default and disable CHOP in your web.xml file [1].
Similar to Omar, we often use xml:space='preserve' in our own projects to
mark mixed-content areas in the documents. For some reason that I never
managed to fully grasp, though, the XML specification provides
On Mon, 2019-12-09 at 20:27 +0100, Arjan Loeffen wrote:
>
> In general: when the wiki states here: "Many XML documents include
> whitespaces that have been added to improve readability. ", this
> should not
> apply to mixed content fragments as described. Only to start and end
> of
> "text
Hey thanks Omar, Fabrice and Martin.
1. *?chop=false* works.
2. *xml:space='preserve'* works
In general: when the wiki states here: "Many XML documents include
whitespaces that have been added to improve readability. ", this should not
apply to mixed content fragments as described. Only
Ok so I remembered correctly. Can I pass this in a REST PUT operation?
Am 09.12.2019 um 16:53 schrieb Martin Honnen:
On 09.12.2019 16:51, Omar Siam wrote:
Probably there is an option
(CHOP?) that one can set to tell BaseX not to trim whitespace at the
edges of text nodes.
Yes, see
an.uni-konstanz.de
Objet : Re: [basex-talk] Weird: mixed content trimmed unexpectedly
Hello,
I had some expierence of this of my own. Saxon and other XML tools are better
at guessing what the user wants. Probably there is an option (CHOP?) that one
can set to tell BaseX not to trim whit
On 09.12.2019 16:51, Omar Siam wrote:
Probably there is an option
(CHOP?) that one can set to tell BaseX not to trim whitespace at the
edges of text nodes.
Yes, see http://docs.basex.org/wiki/Options#XML_Parsing
Hello,
I had some expierence of this of my own. Saxon and other XML tools are
better at guessing what the user wants. Probably there is an option
(CHOP?) that one can set to tell BaseX not to trim whitespace at the
edges of text nodes. But to my knowledge the standard way is to add
Dear BaseX People,
after many (happy!) projects using BaseX I have found that
curl -i -X PUT --basic --user admin ^
-H "Content-Type: application/xml" -d " test for me
" "http://localhost:8984/rest/LeapinLists/test.xml;
stores
test forme
To the database. Notice the spaces in the XML
8 matches
Mail list logo