Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: MODIFIED: pgml ...

gef
Discussion topic

Back to topic list

CVS update: MODIFIED: pgml ...

Reply

Author andreas
Full name Andreas Rueckert
Date 2002-01-13 23:40:09 PST
Message User: andreas
  Date: 02/01/13 23:40:09

  Modified: src/org/tigris/gef/xml/pgml PGMLParser.java
  Log:
  Phil's PGMLParser fix for the 1st load error.
  Issue number: 439
  Obtained from: Phil Sager
  
  Revision Changes Path
  1.22 +4 -1 gef/src/org/tigris/g​ef/xml/pgml/PGMLPars​er.java
  
  http://gef.tigris.or​g/source/browse/gef/​src/org/tigris/gef/x​ml/pgml/PGMLParser.j​ava.diff?r1=1.21​&r2=1.22
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PGMLParser.java
  ====================​====================​====================​=======
  RCS file: /usr/local/tigris/da​ta/helm/cvs/reposito​ry/gef/src/org/tigri​s/gef/xml/pgml/PGMLP​arser.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -b -r1.21 -r1.22
  --- PGMLParser.java 2002/01/04 16:43:50 1.21
  +++ PGMLParser.java 2002/01/14 07:40:09 1.22
  @@ -182,10 +182,13 @@
   
     public void startElement(String elementName,AttributeList attrList) {
         //System.out.println​("[PGMLParser]: startElement " + elementName + " / " + _nestedGroups + " / " + _elementState);
  + // moved here to compensate for groups that do not have default state...PJS
  + if ("group".equals(elementName)) {
  + _nestedGroups++;
  + }
       switch(_elementState) {
           case DEFAULT_STATE:
           if ("group".equals(elementName)) {
  - _nestedGroups++;
               _diagram.add(handleG​roup(attrList));
           }
           else if (elementName.equals("pgml")) {
  
  
  

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: cvs-help at gef dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: MODIFIED: pgml ... andreas Andreas Rueckert 2002-01-13 23:40:09 PST
Messages per page: