XStream
  1. XStream
  2. XSTR-139

StaxReader: cannot call hasMoreChildren many times

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      This is test case to be put in AbstractXMLReaderTest.

      ===
      public void testMine() throws Exception

      { HierarchicalStreamReader xmlReader = createReader("<row><cells></cells></row>"); assertEquals("row", xmlReader.getNodeName()); assertTrue(xmlReader.hasMoreChildren()); // this is OK assertTrue(xmlReader.hasMoreChildren()); // this fails }

      ===

      To be onest, this test case fails for XppReader too, but it is not so much important for me

        People

        • Assignee:
          Unassigned
          Reporter:
          Stepan Koltsov
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: