unread
Hi All,
I have a expat based php xml parser extension there also the
ext/xml/tests/bug26614.phpt fails the difference I could see is in byte
position,
For this snippet expected xml_get_current_byte_index is 45, 90 for start
and end of data tag respectively.
This would be correct if the lines are ended by "\n".
<?xml version="1.0" encoding="iso-8859-1" ?>
<data>
But I feel the lines are ended by "\r\n"
So I get 46(\r in the first line) and 98(8 \r preceding 8 lines).
How to differentiate between \r\n and \n?
I tried vi editor with ":se list" it was showing $ for both "\r\n" and
"\n".
With regards
Kamesh Jayachandran