Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Comparing the XML is very slow

843834Feb 29 2008 — edited Feb 29 2008
Dear All,

I have an XML File which has the fields as Root and it has more than 310 child and some child has children and the other does not have , the Architecture of the file is like the following

<fields>
<field number="1" description="xxxxx">
<enum value="1" name ="xxx">
.....
.....
....
</field>
.....
....
.....
</fields>


I can parse the document easily with out any problem . and I have a text which should compared with the XML .

I stored the XML in a vector and when i am trying to compare i have to loop on each object in the vector and this make the process is very slow .



can any on suggest any thing to help me.





Thanks

Edited by: habuzahra on Feb 29, 2008 7:59 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2008
Added on Feb 29 2008
4 comments
152 views