ofbiz-dev mailing list archives

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

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

BJ Freeman commented on OFBIZ-1947:
-----------------------------------

that would work for someone using Dom.
However this is more for reading a stream.
This becuase I am reading in 100's of megs xml file.
Dom takes up to much memory, when i start parsing the file and really slows down the import.


> 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