xml/libxml2libs/test/xmlengtester/xmlengtester_target/src/xmlengtesterblockschunkcont.cpp
equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 #include "TestContentHandler.h" |
18 #include "TestContentHandler.h" |
19 #include "xmlengtester.h" |
19 #include "xmlengtester.h" |
20 //#include "XmlEngDOMChunkParser.h" |
20 //#include "XmlEngDOMChunkParser.h" |
21 #include "XmlEngChunkContainer.h" |
21 |
22 #include "XmlEngBinaryContainer.h" |
22 #include <xml/dom/xmlengchunkcontainer.h> |
23 #include "XmlEngFileContainer.h" |
23 #include <xml/dom/xmlengbinarycontainer.h> |
24 #include "XmlEngNode.h" |
24 #include <xml/dom/xmlengfilecontainer.h> |
|
25 |
|
26 #include <xml/dom/xmlengnode.h> |
25 #include <e32svr.h> |
27 #include <e32svr.h> |
26 #include <StifParser.h> |
28 #include <StifParser.h> |
27 #include <Stiftestinterface.h> |
29 #include <Stiftestinterface.h> |
28 |
30 |
29 #include <Xml\Parser.h> |
31 #include <Xml\Parser.h> |
625 TXmlEngChunkContainer binData2 = iDoc.CreateChunkContainerL( |
627 TXmlEngChunkContainer binData2 = iDoc.CreateChunkContainerL( |
626 cid2, chunk,offset, binarySize); |
628 cid2, chunk,offset, binarySize); |
627 el.AppendChildL(binData2); |
629 el.AppendChildL(binData2); |
628 |
630 |
629 // (3.) some other data |
631 // (3.) some other data |
630 _LIT(KInputFile1, "E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); |
632 _LIT(KInputFile1, "f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); |
631 _LIT8(KCid, "111"); |
633 _LIT8(KCid, "111"); |
632 HBufC8* str1=ReadFileL(KInputFile1); |
634 HBufC8* str1=ReadFileL(KInputFile1); |
633 CleanupStack::PushL(str1); |
635 CleanupStack::PushL(str1); |
634 TXmlEngBinaryContainer container = iDoc.CreateBinaryContainerL(KCid(), *str1); |
636 TXmlEngBinaryContainer container = iDoc.CreateBinaryContainerL(KCid(), *str1); |
635 TXmlEngElement el2 = iDoc.CreateElementL(_L8("binarycontainer")); |
637 TXmlEngElement el2 = iDoc.CreateElementL(_L8("binarycontainer")); |