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 >00001</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.


Reply via email to