On 08/09/2012 11:42 AM, Arioch wrote:
well, i did exactly the opposite, disables X1 so that X2 would be used
everywhere.

i cannot check what syntax is used your online sandbox but i suppose your
sandbox is not updated since ever and is still in X1 markup.

And that made document import mix different markups.



No, as Marius said, the Sandbox is in the xwiki/2.0 syntax:

https://github.com/xwiki/xwiki-enterprise/blob/master/xwiki-enterprise-ui/src/main/resources/Sandbox/WebHome.xml#L24

https://github.com/xwiki/xwiki-enterprise/blob/master/xwiki-enterprise-ui/src/main/resources/Sandbox/TestPage1.xml#L24

You can check locally, *before* editing and re-saving a document:

http://localhost:8080/xwiki/bin/view/Sandbox/?xpage=xml (check the syntaxId element)

Here's the commit that changed the syntax, from almost three years ago:

https://github.com/xwiki/xwiki-enterprise/commit/022473e983635f1cfe06dd4261e06e9a1959e75c

Can you paste the value for the xwiki.rendering.syntaxes setting from your xwiki.cfg?

Do the XWiki 2.0 and 2.1 syntaxes appear in the syntax list in the Document Information panel?

--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to