1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
importPackage( Packages.java.io );
importPackage( Packages.java.lang );
test = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>";
test = test + "<Filing xmlns=\"http://www.osb.gc.ca/eFiling\">";
test = test + "<Source vendor=\"UBERbase\" name=\"Insolvency Process System\" version=\"4.2.0.1\" />";
test = test + "<Created>2012-03-13T16:04:00</Created>";
test = test + "<Document type=\"prescribed\" name=\"Form1\" version=\"2006-07\" language=\"en\">";
test = test + "<Form1 xmlns=\"http://www.osb.gc.ca/eFiling\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.osb.gc.ca/eFiling http://efiling-dev7.ott.montage-dmc.com/eFiling/dev/schema/Form1.xsd\">";
test = test + "<District>QC</District>";
test = test + "<Division>01 - Montréal</Division>";
test = test + "<Debtor>";
test = test + "<Individual>";
test = test + "<GivenNames>Jocelyn</GivenNames>";
test = test + "<FamilyName>Bourdon</FamilyName>";
test = test + "<Occupation>Sans emploi</Occupation>";
test = test + "</Individual>";
test = test + "<Location>";
test = test + "<MunicipalityType>city</MunicipalityType>";
test = test + "<Municipality>Montréal-Nord</Municipality>";
test = test + "<Province>QC</Province>";
test = test + "</Location>";
test = test + "<EstateNumber>41-1506146</EstateNumber>";
test = test + "</Debtor>";
test = test + "<SummaryAdministration>1</SummaryAdministration>";
test = test + "</Form1>";
test = test + "</Document>";
test = test + "<Document type=\"prescribed\" name=\"Form84\" version=\"2010-08\" language=\"en\">";
test = test + "<Form84 xmlns=\"http://www.osb.gc.ca/eFiling\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.osb.gc.ca/eFiling http://efiling-dev7.ott.montage-dmc.com/eFiling/dev/schema/Form84.xsd\">";
test = test + "<BankruptcyDate>2011-06-07</BankruptcyDate>";
test = test + "<Trustee>Jean Fortin & Associés Syndics Inc.</Trustee>";
test = test + "<Bankrupt>";
test = test + "<GivenNames>Jocelyn</GivenNames>";
test = test + "<FamilyName>Bourdon</FamilyName>";
test = test + "<Occupation>Sans emploi</Occupation>";
test = test + "</Bankrupt>";
test = test + "<DischargeDate>2012-03-08</DischargeDate>";
test = test + "<DischargedPursuant170>0</DischargedPursuant170>";
test = test + "<DischargedPursuant168>0</DischargedPursuant168>";
test = test + "<Subparagraph1681ai>1</Subparagraph1681ai>";
test = test + "<Subparagraph1681aii>1</Subparagraph1681aii>";
test = test + "<Subparagraph1681bi>0</Subparagraph1681bi>";
test = test + "<Subparagraph1681bii>0</Subparagraph1681bii>";
test = test + "<PaymentAgreementPursuant156>0</PaymentAgreementPursuant156>";
test = test + "<SignedAt>";
test = test + "<MunicipalityType>city</MunicipalityType>";
test = test + "<Municipality>Montréal</Municipality>";
test = test + "<Province>QC</Province>";
test = test + "<Date>2012-03-13</Date>";
test = test + "</SignedAt>";
test = test + "</Form84>";
test = test + "</Document>";
test = test + "</Filing>";
testJS = new java.lang.String( test );
testbytes = testJS.getBytes();
bais = new ByteArrayInputStream( testbytes );
reportContext.getAppContext().put("org.eclipse.datatools.enablement.oda.xml.inputStream ", bais); |
Partager