Menu

white space in end tag

Developer
2004-10-18
2013-05-20
  • Alexey Sokirko

    Alexey Sokirko - 2004-10-18

    Hello!
    I cannot parse the following file:
    <?xml version="1.0" ?>
    <t>3</t >

    The problem is that the end tag contains a white
    space.  But as far as I can understand this file complies XML specification since an end tag is declared as follows:
      ETag ::=  '</' Name S? '>'
    So to my mind this white space should be simply ignored. Am I right?

     
    • Lee Thomason

      Lee Thomason - 2004-10-19

      It should work fine, as you say. Please file a bug and include either small code that shows the bug or a zip of an XML file that demonstrates the bug.

      thanks!
      lee

       

Log in to post a comment.

MongoDB Logo MongoDB