[xml] problems with multiline comments



Hi there!

has anyone had problems with multiline comments yet?

the following fraction

        <prototypes>
                <!--
                MULITLINE
                COMMENT
                TEXT
                -->
                <actor name="bellydancer"  />
                <actor name="sheep">
                        <sound name="baa" sample="sheep_baa.wav" />
                </actor>
        </prototypes>

does parse, but the tree generated from it does not contain any actor nodes.
If I replace the comment with a single line comment ("<!-- comment -->") it
works...

has anyone an idea?


thx,

Uwe

-------------------------------
Uwe Pachler
neo media Head of Development
http://www.neo-media.at/
Tel: +43-1-6076060-30




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]