2009/6/7 Frank Niessink <[email protected]>:
> 2009/6/7 Jérôme Laheurte <[email protected]>:
>>
>> Le 7 juin 09 à 13:20, Frank Niessink a écrit :
>>
>>> > Would an underscore instead of "-" and "." do the trick ?
>>>
>>> According to http://www.w3.org/TR/2008/REC-xml-20081126/#NT-Name both
>>> "-" and "." are allowed name characters :-( Guess we hit a bug in
>>> ElementTree. I'll try with underscores.
>>>
>>
>> Already done, I was just waiting your answer to commit it.

Alas, using underscores doesn't make a difference, the element tags
still get broken over several lines:

<syncml>
<TaskCoach_
0000011d209a4b6c3f9f7c32000a00b100240032
>
<spds>
<sources>
<TaskCoach_
0000011d209a4b6c3f9f7c32000a00b100240032
_Tasks/>
<TaskCoach_
0000011d209a4b6c3f9f7c32000a00b100240032
_Notes/>
</sources>
<syncml>
<Auth/>
<Conn/>
</syncml>
</spds>
</TaskCoach_
0000011d209a4b6c3f9f7c32000a00b100240032
>
<TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032>
<spds>
<sources>
<TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032_Tasks/>
<TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032_Notes/>
</sources>
<syncml>
<Auth/>
<Conn/>
</syncml>
</spds>
</TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032>
<TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032>
<spds>
<sources>
<TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032_Tasks/>
<TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032_Notes/>
</sources>
<syncml>
<Auth/>
<Conn/>
</syncml>
</spds>
</TaskCoach_0000011d209a4b6c3f9f7c32000a00b100240032>
</syncml>


By the way, am I missing something, or is the same information in there twice?

Cheers, Frank

Reply via email to