Le 12-janv.-10 à 11:13, Thomas Mortagne a écrit :
>> Should this Plugin remain standalone or added as another goal to  
>> the XAR plugin ?

I licensing is appropriate (all LGPL right) I would vote for a xar  
plugin extension.

What do the XAR plugin writers think?

>> The plugin can be seen as a preparation step for XAR plugin where  
>> the content is kept separate from XML file so that IDEs language  
>> support can be used.
>>
>> BTW I am just wondering why the default export (Admin -> Export) is  
>> exporting the content XML encoded and not within a CDATA construct.  
>> A CDATA construct would make the content or code easier to read but  
>> it would prevent the user from using "]]>" within the content.
>
> I think the first reason would be that the code is using a XML writer
> and let it handle escaping the way it want and did not tough a lot
> about that. Also if CDATA make impossible to put any data (are you
> sure ?) it would be a blocker for me anyway.

why not the following:
- if the content contains ]]> use the normal procedure
- if the content does not (99% of the cases) use a CDATA
XML-wise it's equivalent.


paul
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to