Syntext Forums - Serna Enterprise XML Editor, Serna Free XML Editor
(#1 (permalink))
Old
Junior Member
 
Posts: 1
Join Date: Oct 2009
Default Two small issues with Serna free - 10-09-2009, 02:45 PM

Hello,

Since I couldn't find a bug tracker, I thought I would report these two issues I found with Serna free here. The second is probably user error, and the first, while not critical, is a show-stopper for me, as it makes it impractical to use Serna free to update files kept in a shared version control system and also updated by other people using different tools.

The first issue is that when I edit an XML file with Serna free, it touches and reformats the whole file, not just the bits I changed, in ways that are not significant for the XML, but are to a version control system (in particular, it changes the placement of spaces and removes line break characters).

The second is that I was unable to input a line feed character (0x000a) using Serna free. I assume that I just didn't find how to do it though.

Regards and thanks for releasing such an impressive product.

Michael
Reply With Quote
(#2 (permalink))
Old
apg apg is offline
Administrator
 
Posts: 53
Join Date: Mar 2009
Default 10-12-2009, 05:47 PM

Michael,
Serna formats the file according to the whitespace stripping policy specified in the stylesheet (xslreserve-space, xsl:strip-space). If you want Serna to keep spaces everywhere as-is, you can use <xsl:strip-space="*">. For most document types, whitespaces betwen elements are insignificant in most cases.
Also, Serna does consistent formatting - so if you save document formatted by Serna to text-based CMS, another revision of the document will have little difference.

Of course you can insert newline character - either in whitespace-preserved area (in element which is listed in xslreserve-space, and for which XSL-FO whitespace treatment policy is 'preserve' too). Please look to the Interactive Example stylesheet, for the template of 'pre' element, as an example.
Reply With Quote
Reply

Bookmarks

Tags
special symbol, version control, xml format

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.1
vBulletin Skin developed by: vBStyles.com