[Mono-list] app runs on windows, not on linux

Travis Staloch twostepted at yahoo.com
Sun May 14 18:34:19 EDT 2006


Miguel,

Thanks much for your advice.  I tried running xmllint
on the .glade file with the --valid (or --validate, I
can't remember) switch.  No errors were reported.  I
also tried running xmllint on my app's xml config file
with no errors reported either.  

After reading a recent message to this list, I thought
that my problem might have stemmed from trying to run
a debug .exe from windows on my FC5 box.  But running
the release build gave the same error message as
previously mentioned.  

Would you reccommend building the project on my FC5
box?  Anyone else have any ideas?  Once again, the
error I get when running my app on my FC5 box is:

****************************************************
Gtk-WARNING **: Failed to set label from markup due to
error parsing markup: Error on line 4 char 6: '0' is
not a valid character following a '<' character; it
may not begin an element name
****************************************************

Anyone agree that this sounds like a GTK label is
being given some bad markup (alot of my app's labels
use markup which is defined in an xml config file)? 
If so, is it likely that this is just a difference in
the GTK implementation on Linux (vs Windows)?  

Regards, Thanks for any advice,

--Travis



--- Miguel de Icaza <miguel at ximian.com> wrote:

> Hello,
> 
> > This is the current error message:
> >
> ****************************************************
> > Gtk-WARNING **: Failed to set label from markup
> due to
> > error parsing markup: Error on line 4 char 6: '0'
> is
> > not a valid character following a '<' character;
> it
> > may not begin an element name
> >
> ****************************************************
> > 
> > I thought this meant that there was invalid markup
> in
> > my .glade xml project file which was created on
> > windows and moved over to FC5 (the whole project
> was
> > created on windows and moved over).  I thought
> that
> > the error meant that there was an xml element
> whose
> > name began with a 0 (ie <0....>), so I searched
> the
> > glade file for that text, but didn't find it.  
> > 
> > I think that the error might be that some markup
> is
> > being passed to a glade label
> > 
> > I read somewhere else that this might be related
> to an
> > encoding problem.  Does anyone agree or have any
> > further suggestions?
> 
> Perhaps it is caused by a Unicode market?  Am not
> sure.
> 
> Try extracting the XML file into a file, then
> running xmllint to
> validate it.
> 
> Miguel
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mono-list mailing list