This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 53943 - Do not use DOM to parse and write XML files.
Summary: Do not use DOM to parse and write XML files.
Status: RESOLVED INCOMPLETE
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-01-25 11:40 UTC by Martin Entlicher
Modified: 2011-09-19 23:42 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2005-01-25 11:40:34 UTC
For the performance reasosns, DOM should not be
used to read and write XML documents.
Comment 1 Martin Entlicher 2005-01-25 11:41:33 UTC
Scheduling for future.
Currently DOM is used to write VCS profile and read/write FS settings.
Comment 2 Martin Entlicher 2005-01-25 13:31:58 UTC
The process of writting the XML profile is rewritten using
ProfileWriter, which writes the XML document as a plain text.

/cvs/vcscore/src/org/netbeans/modules/vcscore/caching/StatusFormat.java,v
 <--  StatusFormat.java
new revision: 1.8; previous revision: 1.7

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/ProfileContentHandler.java,v
 <--  ProfileContentHandler.java
new revision: 1.5; previous revision: 1.4

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/ProfilesFactory.java,v
 <--  ProfilesFactory.java
new revision: 1.20; previous revision: 1.19

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/CommandNode.java,v
 <--  CommandNode.java
new revision: 1.56; previous revision: 1.55

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/ConditionedCommandsBuilder.java,v
 <--  ConditionedCommandsBuilder.java
new revision: 1.5; previous revision: 1.4

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/UserCommandIO.java,v
 <--  UserCommandIO.java
new revision: 1.22; previous revision: 1.21

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/conditioned/ConditionedBooleanPanel.java,v
 <--  ConditionedBooleanPanel.java
new revision: 1.4; previous revision: 1.3

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/conditioned/ConditionedIntegerPanel.java,v
 <--  ConditionedIntegerPanel.java
new revision: 1.4; previous revision: 1.3

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/conditioned/ConditionedStringPanel.java,v
 <--  ConditionedStringPanel.java
new revision: 1.3; previous revision: 1.2

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/conditioned/ConditionedStructuredExecPanel.java,v
 <--  ConditionedStructuredExecPanel.java
new revision: 1.6; previous revision: 1.5

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/conditioned/IfUnlessCondition.java,v
 <--  IfUnlessCondition.java
new revision: 1.3; previous revision: 1.2

RCS file:
/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/ProfileWriter.java,v
done

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/ProfileWriter.java,v
 <--  ProfileWriter.java
initial revision: 1.1

Removing
vcsgeneric/src/org/netbeans/modules/vcs/advanced/variables/ConditionIO.java;
/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/variables/ConditionIO.java,v
 <--  ConditionIO.java
new revision: delete; previous revision: 1.2

It remains to rewrite CommandLineVcsFileSystemInstance...