Re: Error in Totoe XML Parser.

2013-04-08 Thread skippy
Thanks, that seems to take care of it.

On Apr 5, 2:52 am, Harald Pehl harald.p...@gmail.com wrote:
 Why do you setup namespaces? Your XML does not seem to use them?

 - Harald

 Am Donnerstag, 4. April 2013 19:54:04 UTC+2 schrieb skippy:





  This code works fine for me in IE but fails in Firefox.
  I get the error Bad format on namespace decleration(s) given.

  String namespaces = xmlns:default=\http://code.google.com/p/totoe\;
              + xmlns:Group=\http://code.google.com/p/totoe/Group\;
  
  + xmlns:Item=\http://code.google.com/p/totoe/Item\; ;

  dataGroupDocument = new XmlParser().parse(dataGroup,namespaces);

  XML us like this:
  Group Name=ACCT00305
    ITEM
      ACCT000 31MEB0009/ACCT000 
      NAME055 Miss Taylor R Williams/NAME055 
      REMT000 1/REMT000 
      REMT001 BANTMEK/REMT001 
      NAME002 987-00-0082/NAME002 
      REMT027 /REMT027 
      REMT018 /REMT018 
    /ITEM
  /Group- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Error in Totoe XML Parser.

2013-04-05 Thread Harald Pehl
Why do you setup namespaces? Your XML does not seem to use them?

- Harald

Am Donnerstag, 4. April 2013 19:54:04 UTC+2 schrieb skippy:

 This code works fine for me in IE but fails in Firefox. 
 I get the error Bad format on namespace decleration(s) given. 

 String namespaces = xmlns:default=\http://code.google.com/p/totoe\; 
 + xmlns:Group=\http://code.google.com/p/totoe/Group\; 
  
 + xmlns:Item=\http://code.google.com/p/totoe/Item\; ; 

 dataGroupDocument = new XmlParser().parse(dataGroup,namespaces); 

 XML us like this: 
 Group Name=ACCT00305 
   ITEM 
 ACCT000 31MEB0009/ACCT000  
 NAME055 Miss Taylor R Williams/NAME055  
 REMT000 1/REMT000  
 REMT001 BANTMEK/REMT001  
 NAME002 987-00-0082/NAME002  
 REMT027 /REMT027  
 REMT018 /REMT018  
   /ITEM 
 /Group 


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.