i got the same error when i created a property with a number as first character

2010/10/4, Frederic Bouvier <[email protected]>:
> 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
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to