commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <>
Subject [jira] Commented: (IO-162) add Xml(Stream)Reader/Writer from ROME
Date Thu, 03 Apr 2008 22:09:24 GMT


Hervé Boutemy commented on IO-162:

Maven use case: pom.xml content is read as String to do interpolation = search for ${xxx}
to replace with a property value, and only after the interpolation process it is parsed by
an Xml Pull Parser.
Without this class, XML encoding support would have meant changing the whole interpolation
process, to integrate it tightly into the parser (do interpolation on each parser event).

Getting an XML content as a String is handy to get the content of an XML file (or more generally
stream) without actually parsing it: for example if you write a file editor.

> add Xml(Stream)Reader/Writer from ROME
> --------------------------------------
>                 Key: IO-162
>                 URL:
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>            Reporter: Hervé Boutemy
>         Attachments: IO-162.patch
> XmlReader is a class written by Alejandro Abdelnur in the ROME project (
to detect encoding from a stream containing an XML document.
> It has been integrated into Maven 2.0.8, via XmlStreamReader in plexus-utils, and I added
> commons-io seems the right library to distribute these utilities.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message