XM_EIFFEL_INPUT_STREAM

"Emmanuel Stapf [ES]" <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Organization Eiffel Software
Message-ID <00f801c6a6ff$e6f90ab0$620a000a@venice>
Hi,

I got surprised today by the positions returned by the XM_EIFFEL_PARSER while
scanning an XML document which had a few strange characters at the beginning
(I'm not sure how we are supposed to call them, they tell the encoding used in
the file). Anyway, the issue is that `position' did not take into account those
characters, making `position' useless when you need to extract data from the XML
document.

Shouldn't position take those into account? If not, shouldn't we have a query in
XM_EIFFEL_PARSER or XM_EIFFEL_INPUT_STREAM to get the starting offset in the
stream?

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software	
805-685-1006	
http://www.eiffel.com	
Customer support: http://support.eiffel.com	
User group: http://groups.eiffel.com/join	
------------------------------------------------------------------------  



To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.