I described the problem I had with using the rest interface to update files
in xwiki 2.1 format.
The point is to script a bulk upload that way.
But as I have described, it seems that the content of the <content> element
must not contain xml, even if enclosed in
{{code}}...{{/code}}.
It is interpreted as belonging to the surrounding xml and breaks the parsing
process.
When pasting exactly the same xwiki/2.1 format direclty into the xwiki
editor it works as expected.
That means that REST upload of xwiki pages only accepts that subset which
does not contain characters which are processed by the xml processor,
right?
I would appreciate a confirmation or rebuttal of the problem, and, if so, a
possible workaround.
Would a future solution to the problem be to require the content of the
<content> element to be within a
block?
Regards,
Roland
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Rest-API-XML-and-Xwiki-syntax-interferenc…
Sent from the XWiki- Users mailing list archive at
Nabble.com.