Menu

SeqParser, big file, read rtProcessingInstruction

Anonymous
2016-04-21
2016-05-14
  • Anonymous

    Anonymous - 2016-04-21

    SeqParser has 2 function : ReadNextChildElementHeader and ReadNextChildNode
    ReadNextChildNode read rtProcessingInstruction.
    ReadNextChildElementHeader not read rtProcessingInstruction.

    I have any BIG xml files with rtProcessingInstruction, and any not with rtProcessingInstruction.

    If use ReadNextChildNode on file without rtProcessingInstruction read root element it takes a great time.

    How to use ReadNextChildElementHeader read rtProcessingInstruction?

     
  • Ondrej Pokorny

    Ondrej Pokorny - 2016-04-21

    It seems to be a bug. I'll take a look at it.

     
  • Anonymous

    Anonymous - 2016-04-22

    Root node has very many child nodes.

     
  • Ondrej Pokorny

    Ondrej Pokorny - 2016-05-14

    Use TXMLSeqParser.ReadNextChildHeader that I added in r130.
    You find demo code how to use it in unit tests, functionTOXmlUnitTest. Test_OXmlPSeq_TXMLSeqParser_Test2.

     

Anonymous
Anonymous

Add attachments
Cancel