Could you paste the exact XML you are sending ? On Wed, Oct 1, 2014 at 4:41 PM, rol <[email protected]> wrote: > Hi, > > Thanks for the answer. > > We have created an (unpolished) groovy script which takes the input > directory name, a file with regexps and an output > directory as arguments. It then creates the directory structure and the > package.xml file, which we manually > zip into a XAR. > > We can provide this conversion from Trac as a contribution (when it works, > and after polishing). > > However, we have a new problem: The xml encoded characters are kept as such, > which means that the imported document is cluttered with xml-encoded > characters, which also destroys all xwiki-syntax links. > > Shouldn't the XML-processor resolve the xml encoded characters so that the > xwiki parser gets back the escaped characters in original form? > > Example: > > The source code of an imported page now has stuff like the following: > {{code}} > sudo sh -c "./execute_file.sh motricedb > ../create/motrice.postgres.demodata.sql" > {{/code}} > > And the destroyed xwiki-syntax links: > > * [[Initiering Motrice databas>>BootStrapMotriceDb]] > * [[Motrice installationsdokument>>PortalInstall]] > * [[Motrice Sample Configuration>>MotriceSampleConfig]] > * [[Motrice Stand-Alone Deployment>>MotriceStandAlone]] > * [[Hippo CMS hantering>>HippoAdmin]] > * [[Orbeon/plattformen: bra att ha>>OrbeonHandgrepp]] > > Are we doing something wrong? > > Thanks > //Roland > > > > > ----- > Roland Hedayat > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Rest-API-XML-and-Xwiki-syntax-interference-tp7592473p7592523.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
