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 |
21 #include "XmlEngChunkContainer.h" |
22 #include <xml/dom/xmlengchunkcontainer.h> |
22 #include "XmlEngBinaryContainer.h" |
23 #include <xml/dom/xmlengbinarycontainer.h> |
23 #include "XmlEngFileContainer.h" |
24 #include <xml/dom/xmlengfilecontainer.h> |
24 #include "XmlEngNode.h" |
25 |
|
26 #include <xml/dom/xmlengnode.h> |
|
27 #include <e32svr.h> |
25 #include <e32svr.h> |
28 #include <StifParser.h> |
26 #include <domain/osextensions/StifParser.h> |
29 #include <Stiftestinterface.h> |
27 #include <domain/osextensions/Stiftestinterface.h> |
30 |
28 |
31 #include <Xml\Parser.h> |
29 #include <Xml\Parser.h> |
32 #include <Xml\ParserFeature.h> |
30 #include <Xml\ParserFeature.h> |
33 |
31 |
34 #include <libc\string.h> |
32 #include <libc\string.h> |
627 TXmlEngChunkContainer binData2 = iDoc.CreateChunkContainerL( |
625 TXmlEngChunkContainer binData2 = iDoc.CreateChunkContainerL( |
628 cid2, chunk,offset, binarySize); |
626 cid2, chunk,offset, binarySize); |
629 el.AppendChildL(binData2); |
627 el.AppendChildL(binData2); |
630 |
628 |
631 // (3.) some other data |
629 // (3.) some other data |
632 _LIT(KInputFile1, "f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); |
630 _LIT(KInputFile1, "E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); |
633 _LIT8(KCid, "111"); |
631 _LIT8(KCid, "111"); |
634 HBufC8* str1=ReadFileL(KInputFile1); |
632 HBufC8* str1=ReadFileL(KInputFile1); |
635 CleanupStack::PushL(str1); |
633 CleanupStack::PushL(str1); |
636 TXmlEngBinaryContainer container = iDoc.CreateBinaryContainerL(KCid(), *str1); |
634 TXmlEngBinaryContainer container = iDoc.CreateBinaryContainerL(KCid(), *str1); |
637 TXmlEngElement el2 = iDoc.CreateElementL(_L8("binarycontainer")); |
635 TXmlEngElement el2 = iDoc.CreateElementL(_L8("binarycontainer")); |