You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2013/09/24 21:33:03 UTC

[jira] [Commented] (SLING-3101) [Tooling] integrate with decentXml for minimal changes on .content.xml modifications

    [ https://issues.apache.org/jira/browse/SLING-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776658#comment-13776658 ] 

Stefan Egli commented on SLING-3101:
------------------------------------

A note on TolerantXmlTokenizer: decentXml incorrectly disallows '>' as part of an attribute value but as pointed out by [~tripod@apache.org], the '>' *is* a valid character (for an attribute value, see [0]). I'll file a separate bug with decentXml regarding this. Until that's fixed though, TolerantXmlTokenizer is needed.
--
[0] - http://www.w3.org/TR/2004/REC-xml-20040204/#charsets
                
> [Tooling] integrate with decentXml for minimal changes on .content.xml modifications
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-3101
>                 URL: https://issues.apache.org/jira/browse/SLING-3101
>             Project: Sling
>          Issue Type: Improvement
>          Components: IDE
>    Affects Versions: Sling Eclipse IDE 1.0.0
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>
> Currently, when modifying properties or adding/removing nodes in the content-browser, ie in .content.xml, the xml gets rewritten and looses formatting, such as newlines within an element between attributes (which is the default in .content.xml generated by vault).
> DecentXml (http://code.google.com/p/decentxml/, 'New BSD License') is a tool which allows to retain the formatting (sax/dom-parsers dont). Integrate with this tool to keep source changes to a minimum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira