ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Crum (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OFBIZ-1947) UitlXml.java new routine to remove tags return value.
Date Wed, 03 Sep 2008 19:53:44 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628115#action_12628115
] 

Adrian Crum commented on OFBIZ-1947:
------------------------------------

BJ,

Don't forget to check for errors - like ">" or "<" wasn't found in the argument, or
the argument is null.

Also, why not use the String.replace(...) method?



> UitlXml.java new routine to remove tags return value.
> -----------------------------------------------------
>
>                 Key: OFBIZ-1947
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1947
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>            Reporter: BJ Freeman
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: Utilsxml.patch
>
>
> I have a need to read in  megabyte XML files
> so i am not pulling it into memory but reading as a stream
> one line at a time.
> I have a string <somestring>value</somestring>
> I have a routine that just returns the value.
> I would like to add it to the UtilXml.java

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


Mime
View raw message