Hi Gene,

----- "Gene Buckle" a écrit :
> On Mon, 4 Oct 2010, Frederic Bouvier wrote:
> 
> > Hi Chris,
> >
> > You may have an incorrect line break in a XML file, in a property
> name. You should write
> >
> > <property>/my/own/property</property>
> >
> > instead of
> >
> > <property>
> > /my/own/property
> > </property>
> 
> Fred, aren't both forms valid XML?
> 
> Is there a way the filename of the offender could be included in the
> error 
> message?  It would be a huge help to folks chasing down these things.

Yes, both form as valid as 

<property>garbage
/my/own/property
garbage</property>

is valid XML too. The point is that line breaks are not allowed in property 
names, so you should avoid to put line breaks or others white space combination 
between the element markers (between > and < ).

Sure the code could be amended to print the file name. In the mean time, I 
would start under gdb and put a breakpoint on the instruction that print this 
message.

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/              Photo gallery - album photo
http://www.youtube.com/user/fgfred64       Videos


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to