Annotation of embedaddon/php/ext/standard/tests/array/bug34066.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: Bug #34066 (recursive array_walk causes segfault)
3: --FILE--
4: <?php
5:
6: $order = array(
7: "DocID" => "1",
8: "DocDate" => "19.09.06",
9: "ReSubmissionDate" => "",
10: "DocTyp" => "Stapelauftrag",
11: "CustID" => "00000",
12: "CustomerAddress" => array(
13: array(
14: "Name1" => 'name1',
15: "Name2" => 'name2',
16: "Name3" => "",
17: "City" => 'city',
18: "Street" => 'street',
19: "Postal" => 'postcode',
20: "IATA" => "90",
21: "Country" => "Deutschland",
22: "ShortName" => 'short',
23: "ContactKey" => "",
24: "EMail" => 'email@example.com',
25: )
26: ),
27: "Text1" => "",
28: "Text2" => "",
29: "Wildcard1" => "",
30: "Wildcard2" => "",
31: "Dispatch" => "Paketdienst",
32: "Weight" => "0,0",
33: "BillingCustID" => "4300200000",
34: "ExtDocNr" => "00000000003",
35: "AnalysisLock" => "",
36: "PrintFlag" => "",
37: "FormType" => "0",
38: "Curr" => "EUR",
39: "ExChangeRate" => "1,0000",
40: "WIRRate" => "0",
41: "OneTimeCustomer" => array(
42: array(
43: "BankCode" => "",
44: "BankAccount" => ""
45: )
46: ),
47: "Language" => "0",
48: "PriceGroup" => "1",
49: "PrFlag" => "0",
50: "SalesTaxKey" => "1",
51: "ProceedKey" => "0",
52: "CustDiscountGroup" => "0",
53: "Discount" => array(
54: array(
55: "FinDisc1" => "0,00",
56: "Disc1Base" => "145,72",
57: "Disc1Value" => "0,00",
58: "FinDisc2" => "0,00",
59: "Disc2Base" => "145,72",
60: "Disc2Value" => "0,00",
61: "FinDisc3" => "0,00",
62: "Disc3Base" => "145,72",
63: "Disc3Value" => "0,00",
64: "ValueSummary" => "0,00"
65: )
66: ),
67: "Contact" => array(
68: array(
69: "Repr" => "999",
70: "Region" => "99",
71: "Commission" => "0,00",
72: "Agent" => "000000"
73: )
74: ),
75: "Booking" => array(
76: array(
77: "CostUnit" => "0000000000",
78: "CostCentre" => "0000000000",
79: "AccountingArea"=> "01"
80: )
81: ),
82: "InvoiceCycleKey" => "0",
83: "AnalysisKey" => "",
84: "OrderNumber" => "",
85: "OrderDate" => "",
86: "OrderCode" => "",
87: "DocItems" => array(
88: "DocItem" => array(
89: "PosType" => "1",
90: "ItemRef" => "1002",
91: "CRef" => "",
92: "Desc1" => "Pr�sentation Niederlande per",
93: "Desc2" => "",
94: "ArticleGroup" => "102",
95: "PosTypeVersion" => "E",
96: "Delivery" => array(
97: array(
98: "DelWeek" => "",
99: "DelDay" => "",
100: "DelTime" => ""
101: )
102: ),
103: "PricePu" => "145,72",
104: "PriceUnit" => "0",
105: "PriceCalculation" => "0",
106: "ItemVal" => "145,72",
107: "InputKey" => "0",
108: "AveragePurchasePrice" => "0",
109: "Tax" => array(
110: array(
111: "TaxCode" => "00",
112: "TaxBra" => "000",
113: "TaxBraAccess" => "0",
114: "TaxSumIndex" => "0"
115: )
116: ),
117: "DiscountArticle" => array(
118: array(
119: "DiscPC" => "0,00",
120: "DiscKey" => "1"
121: )
122: ),
123: "ProceedKeyArticle" => "01",
124: "ActionKey" => "00",
125: "ContactCommissionArticle"=> "0,00",
1.1.1.2 ! misho 126: "QuantdependentPriceKey"=> "",
1.1 misho 127: "Quant" => "1",
128: "QuantUnit" => "",
129: "Meas" => array(
130: array(
131: "Count" => "1",
132: "Length" => "0,000",
133: "Width" => "0,000",
134: "Height" => "0,000"
135: )
136: ),
137: "DecimalPlace" => "0",
138: "MultiplierQuant" => "1,000000",
139: "DifferingQuantUnit" => "",
140: "DecimalPlaceConversion"=> "0",
141: "WeightArticle" => array(
142: array(
143: "Amount" => "0",
144: "Unit" => "0"
145: )
146: ),
147: "Wreath" => "0,000",
148: "Stock" => "1",
149: "CostUnitArticle" => "",
150: "SerialNbKey" => "0",
151: "TextComplementKey" => "0",
152: "PartsListPrintKey" => "",
153: "Prod" => "0000000000"
154: )
155: ),
156: "Payment" => array(
157: "PaymentKey" => "0",
158: "ReminderKey" => "00",
159: "PayTerms" => array(
160: array(
161: "PayTerm" => "1",
162: "PayDays" => "000",
163: "CashDiscDays1" => "000",
164: "CashDiscDays2" => "000",
165: "CashDiscPer1" => "0,00",
166: "CashDiscPer2" => "0,00"
167: ),
168: array(
169: "PayTerm" => "2",
170: "PayDays" => "000",
171: "CashDiscDays1" => "000",
172: "CashDiscDays2" => "000",
173: "CashDiscPer1" => "0,00",
174: "CashDiscPer2" => "0,00"
175: )
176: )
177: ),
178: "NetAmountByTurnOverTax" => array(
179: array(
180: "TurnOverTaxFree" => "145,72",
181: "TurnOverTax1" => "0,00",
182: "TurnOverTax2" => "0,00",
183: "TurnOverTax3" => "0,00",
184: "TurnOverTax4" => "0,00",
185: "TurnOverTax5" => "0,00",
186: "TurnOverTax6" => "0,00",
187: "TurnOverTax7" => "0,00",
188: "TurnOverTax8" => "0,00"
189: ),
190: ),
191: "GrossAmount" => "145,72",
192: "ProceedAmount" => "145,72",
193: "NetAmountByPayTerm2" => array(
194: array(
195: "Sum0" => "0,00",
196: "Sum1" => "0,00",
197: "Sum2" => "0,00",
198: "Sum3" => "0,00",
199: "Sum4" => "0,00",
200: "Sum5" => "0,00",
201: "Sum6" => "0,00",
202: "Sum7" => "0,00",
203: "Sum8" => "0,00"
204: ),
205: ),
206: "TaxCodes" => array(
207: array(
208: "TaxCode1" => "0",
209: "TaxCode2" => "0",
210: "TaxCode3" => "0",
211: "TaxCode4" => "0",
212: "TaxCode5" => "0",
213: "TaxCode6" => "0",
214: "TaxCode7" => "0",
215: "TaxCode8" => "0"
216: )
217: )
218: );
219: $docs = array(
220: array(
221: "Version" => "1.0",
222: "ProducerName" => "xxxxxxxx",
223: "ProductName" => "Classic Line",
224: "xmlns" => "x-schema:CL310_DezABFSchema.XML"
225: ),
226: "Company" => array(
227: array(
228: "MandateNumber" => "111",
229: "MandateName" => "xxx xxxxxxx-xxxxx xxxxxxx",
230: "MandateCurr" => "EUR"
231: ),
232: ),
233: "Doc" => $order
234: );
235:
236: dump2xml($docs);
237:
238:
239: function dump2xml($array) {
240: // output of this goes through 2xml
241: array_walk($array, "gen_xml", "/Docs/");
242: }
243: function gen_xml($val, $key, $prefix)
244: {
245: global $xml_fd;
246: print "gen_xml(prefix=$prefix)\n";
247: if (is_array($val)) {
248: if (preg_match('/^\d+$/', $key)) {
249: if ($key == 1) {
250: print substr($prefix, 0, -1) . "\n";
251: }
252: array_walk($val, "gen_xml", "$prefix@");
253: }
254: else {
255: array_walk($val, "gen_xml", "$prefix$key/");
256: }
257: }
258: else {
259: if (strlen($val) > 0)
260: print "$prefix$key=$val\n";
261: else
262: print "$prefix$key\n";
263: }
264: print "gen_xml(prefix=$prefix) end\n";
265: }
266: echo "Done\n";
267: ?>
268: --EXPECTF--
269: gen_xml(prefix=/Docs/)
270: gen_xml(prefix=/Docs/@)
271: /Docs/@Version=1.0
272: gen_xml(prefix=/Docs/@) end
273: gen_xml(prefix=/Docs/@)
274: /Docs/@ProducerName=xxxxxxxx
275: gen_xml(prefix=/Docs/@) end
276: gen_xml(prefix=/Docs/@)
277: /Docs/@ProductName=Classic Line
278: gen_xml(prefix=/Docs/@) end
279: gen_xml(prefix=/Docs/@)
280: /Docs/@xmlns=x-schema:CL310_DezABFSchema.XML
281: gen_xml(prefix=/Docs/@) end
282: gen_xml(prefix=/Docs/) end
283: gen_xml(prefix=/Docs/)
284: gen_xml(prefix=/Docs/Company/)
285: gen_xml(prefix=/Docs/Company/@)
286: /Docs/Company/@MandateNumber=111
287: gen_xml(prefix=/Docs/Company/@) end
288: gen_xml(prefix=/Docs/Company/@)
289: /Docs/Company/@MandateName=xxx xxxxxxx-xxxxx xxxxxxx
290: gen_xml(prefix=/Docs/Company/@) end
291: gen_xml(prefix=/Docs/Company/@)
292: /Docs/Company/@MandateCurr=EUR
293: gen_xml(prefix=/Docs/Company/@) end
294: gen_xml(prefix=/Docs/Company/) end
295: gen_xml(prefix=/Docs/) end
296: gen_xml(prefix=/Docs/)
297: gen_xml(prefix=/Docs/Doc/)
298: /Docs/Doc/DocID=1
299: gen_xml(prefix=/Docs/Doc/) end
300: gen_xml(prefix=/Docs/Doc/)
301: /Docs/Doc/DocDate=19.09.06
302: gen_xml(prefix=/Docs/Doc/) end
303: gen_xml(prefix=/Docs/Doc/)
304: /Docs/Doc/ReSubmissionDate
305: gen_xml(prefix=/Docs/Doc/) end
306: gen_xml(prefix=/Docs/Doc/)
307: /Docs/Doc/DocTyp=Stapelauftrag
308: gen_xml(prefix=/Docs/Doc/) end
309: gen_xml(prefix=/Docs/Doc/)
310: /Docs/Doc/CustID=00000
311: gen_xml(prefix=/Docs/Doc/) end
312: gen_xml(prefix=/Docs/Doc/)
313: gen_xml(prefix=/Docs/Doc/CustomerAddress/)
314: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
315: /Docs/Doc/CustomerAddress/@Name1=name1
316: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
317: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
318: /Docs/Doc/CustomerAddress/@Name2=name2
319: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
320: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
321: /Docs/Doc/CustomerAddress/@Name3
322: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
323: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
324: /Docs/Doc/CustomerAddress/@City=city
325: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
326: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
327: /Docs/Doc/CustomerAddress/@Street=street
328: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
329: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
330: /Docs/Doc/CustomerAddress/@Postal=postcode
331: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
332: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
333: /Docs/Doc/CustomerAddress/@IATA=90
334: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
335: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
336: /Docs/Doc/CustomerAddress/@Country=Deutschland
337: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
338: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
339: /Docs/Doc/CustomerAddress/@ShortName=short
340: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
341: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
342: /Docs/Doc/CustomerAddress/@ContactKey
343: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
344: gen_xml(prefix=/Docs/Doc/CustomerAddress/@)
345: /Docs/Doc/CustomerAddress/@EMail=email@example.com
346: gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end
347: gen_xml(prefix=/Docs/Doc/CustomerAddress/) end
348: gen_xml(prefix=/Docs/Doc/) end
349: gen_xml(prefix=/Docs/Doc/)
350: /Docs/Doc/Text1
351: gen_xml(prefix=/Docs/Doc/) end
352: gen_xml(prefix=/Docs/Doc/)
353: /Docs/Doc/Text2
354: gen_xml(prefix=/Docs/Doc/) end
355: gen_xml(prefix=/Docs/Doc/)
356: /Docs/Doc/Wildcard1
357: gen_xml(prefix=/Docs/Doc/) end
358: gen_xml(prefix=/Docs/Doc/)
359: /Docs/Doc/Wildcard2
360: gen_xml(prefix=/Docs/Doc/) end
361: gen_xml(prefix=/Docs/Doc/)
362: /Docs/Doc/Dispatch=Paketdienst
363: gen_xml(prefix=/Docs/Doc/) end
364: gen_xml(prefix=/Docs/Doc/)
365: /Docs/Doc/Weight=0,0
366: gen_xml(prefix=/Docs/Doc/) end
367: gen_xml(prefix=/Docs/Doc/)
368: /Docs/Doc/BillingCustID=4300200000
369: gen_xml(prefix=/Docs/Doc/) end
370: gen_xml(prefix=/Docs/Doc/)
371: /Docs/Doc/ExtDocNr=00000000003
372: gen_xml(prefix=/Docs/Doc/) end
373: gen_xml(prefix=/Docs/Doc/)
374: /Docs/Doc/AnalysisLock
375: gen_xml(prefix=/Docs/Doc/) end
376: gen_xml(prefix=/Docs/Doc/)
377: /Docs/Doc/PrintFlag
378: gen_xml(prefix=/Docs/Doc/) end
379: gen_xml(prefix=/Docs/Doc/)
380: /Docs/Doc/FormType=0
381: gen_xml(prefix=/Docs/Doc/) end
382: gen_xml(prefix=/Docs/Doc/)
383: /Docs/Doc/Curr=EUR
384: gen_xml(prefix=/Docs/Doc/) end
385: gen_xml(prefix=/Docs/Doc/)
386: /Docs/Doc/ExChangeRate=1,0000
387: gen_xml(prefix=/Docs/Doc/) end
388: gen_xml(prefix=/Docs/Doc/)
389: /Docs/Doc/WIRRate=0
390: gen_xml(prefix=/Docs/Doc/) end
391: gen_xml(prefix=/Docs/Doc/)
392: gen_xml(prefix=/Docs/Doc/OneTimeCustomer/)
393: gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@)
394: /Docs/Doc/OneTimeCustomer/@BankCode
395: gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@) end
396: gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@)
397: /Docs/Doc/OneTimeCustomer/@BankAccount
398: gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@) end
399: gen_xml(prefix=/Docs/Doc/OneTimeCustomer/) end
400: gen_xml(prefix=/Docs/Doc/) end
401: gen_xml(prefix=/Docs/Doc/)
402: /Docs/Doc/Language=0
403: gen_xml(prefix=/Docs/Doc/) end
404: gen_xml(prefix=/Docs/Doc/)
405: /Docs/Doc/PriceGroup=1
406: gen_xml(prefix=/Docs/Doc/) end
407: gen_xml(prefix=/Docs/Doc/)
408: /Docs/Doc/PrFlag=0
409: gen_xml(prefix=/Docs/Doc/) end
410: gen_xml(prefix=/Docs/Doc/)
411: /Docs/Doc/SalesTaxKey=1
412: gen_xml(prefix=/Docs/Doc/) end
413: gen_xml(prefix=/Docs/Doc/)
414: /Docs/Doc/ProceedKey=0
415: gen_xml(prefix=/Docs/Doc/) end
416: gen_xml(prefix=/Docs/Doc/)
417: /Docs/Doc/CustDiscountGroup=0
418: gen_xml(prefix=/Docs/Doc/) end
419: gen_xml(prefix=/Docs/Doc/)
420: gen_xml(prefix=/Docs/Doc/Discount/)
421: gen_xml(prefix=/Docs/Doc/Discount/@)
422: /Docs/Doc/Discount/@FinDisc1=0,00
423: gen_xml(prefix=/Docs/Doc/Discount/@) end
424: gen_xml(prefix=/Docs/Doc/Discount/@)
425: /Docs/Doc/Discount/@Disc1Base=145,72
426: gen_xml(prefix=/Docs/Doc/Discount/@) end
427: gen_xml(prefix=/Docs/Doc/Discount/@)
428: /Docs/Doc/Discount/@Disc1Value=0,00
429: gen_xml(prefix=/Docs/Doc/Discount/@) end
430: gen_xml(prefix=/Docs/Doc/Discount/@)
431: /Docs/Doc/Discount/@FinDisc2=0,00
432: gen_xml(prefix=/Docs/Doc/Discount/@) end
433: gen_xml(prefix=/Docs/Doc/Discount/@)
434: /Docs/Doc/Discount/@Disc2Base=145,72
435: gen_xml(prefix=/Docs/Doc/Discount/@) end
436: gen_xml(prefix=/Docs/Doc/Discount/@)
437: /Docs/Doc/Discount/@Disc2Value=0,00
438: gen_xml(prefix=/Docs/Doc/Discount/@) end
439: gen_xml(prefix=/Docs/Doc/Discount/@)
440: /Docs/Doc/Discount/@FinDisc3=0,00
441: gen_xml(prefix=/Docs/Doc/Discount/@) end
442: gen_xml(prefix=/Docs/Doc/Discount/@)
443: /Docs/Doc/Discount/@Disc3Base=145,72
444: gen_xml(prefix=/Docs/Doc/Discount/@) end
445: gen_xml(prefix=/Docs/Doc/Discount/@)
446: /Docs/Doc/Discount/@Disc3Value=0,00
447: gen_xml(prefix=/Docs/Doc/Discount/@) end
448: gen_xml(prefix=/Docs/Doc/Discount/@)
449: /Docs/Doc/Discount/@ValueSummary=0,00
450: gen_xml(prefix=/Docs/Doc/Discount/@) end
451: gen_xml(prefix=/Docs/Doc/Discount/) end
452: gen_xml(prefix=/Docs/Doc/) end
453: gen_xml(prefix=/Docs/Doc/)
454: gen_xml(prefix=/Docs/Doc/Contact/)
455: gen_xml(prefix=/Docs/Doc/Contact/@)
456: /Docs/Doc/Contact/@Repr=999
457: gen_xml(prefix=/Docs/Doc/Contact/@) end
458: gen_xml(prefix=/Docs/Doc/Contact/@)
459: /Docs/Doc/Contact/@Region=99
460: gen_xml(prefix=/Docs/Doc/Contact/@) end
461: gen_xml(prefix=/Docs/Doc/Contact/@)
462: /Docs/Doc/Contact/@Commission=0,00
463: gen_xml(prefix=/Docs/Doc/Contact/@) end
464: gen_xml(prefix=/Docs/Doc/Contact/@)
465: /Docs/Doc/Contact/@Agent=000000
466: gen_xml(prefix=/Docs/Doc/Contact/@) end
467: gen_xml(prefix=/Docs/Doc/Contact/) end
468: gen_xml(prefix=/Docs/Doc/) end
469: gen_xml(prefix=/Docs/Doc/)
470: gen_xml(prefix=/Docs/Doc/Booking/)
471: gen_xml(prefix=/Docs/Doc/Booking/@)
472: /Docs/Doc/Booking/@CostUnit=0000000000
473: gen_xml(prefix=/Docs/Doc/Booking/@) end
474: gen_xml(prefix=/Docs/Doc/Booking/@)
475: /Docs/Doc/Booking/@CostCentre=0000000000
476: gen_xml(prefix=/Docs/Doc/Booking/@) end
477: gen_xml(prefix=/Docs/Doc/Booking/@)
478: /Docs/Doc/Booking/@AccountingArea=01
479: gen_xml(prefix=/Docs/Doc/Booking/@) end
480: gen_xml(prefix=/Docs/Doc/Booking/) end
481: gen_xml(prefix=/Docs/Doc/) end
482: gen_xml(prefix=/Docs/Doc/)
483: /Docs/Doc/InvoiceCycleKey=0
484: gen_xml(prefix=/Docs/Doc/) end
485: gen_xml(prefix=/Docs/Doc/)
486: /Docs/Doc/AnalysisKey
487: gen_xml(prefix=/Docs/Doc/) end
488: gen_xml(prefix=/Docs/Doc/)
489: /Docs/Doc/OrderNumber
490: gen_xml(prefix=/Docs/Doc/) end
491: gen_xml(prefix=/Docs/Doc/)
492: /Docs/Doc/OrderDate
493: gen_xml(prefix=/Docs/Doc/) end
494: gen_xml(prefix=/Docs/Doc/)
495: /Docs/Doc/OrderCode
496: gen_xml(prefix=/Docs/Doc/) end
497: gen_xml(prefix=/Docs/Doc/)
498: gen_xml(prefix=/Docs/Doc/DocItems/)
499: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
500: /Docs/Doc/DocItems/DocItem/PosType=1
501: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
502: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
503: /Docs/Doc/DocItems/DocItem/ItemRef=1002
504: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
505: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
506: /Docs/Doc/DocItems/DocItem/CRef
507: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
508: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
509: /Docs/Doc/DocItems/DocItem/Desc1=Pr�sentation Niederlande per
510: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
511: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
512: /Docs/Doc/DocItems/DocItem/Desc2
513: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
514: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
515: /Docs/Doc/DocItems/DocItem/ArticleGroup=102
516: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
517: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
518: /Docs/Doc/DocItems/DocItem/PosTypeVersion=E
519: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
520: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
521: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/)
522: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@)
523: /Docs/Doc/DocItems/DocItem/Delivery/@DelWeek
524: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) end
525: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@)
526: /Docs/Doc/DocItems/DocItem/Delivery/@DelDay
527: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) end
528: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@)
529: /Docs/Doc/DocItems/DocItem/Delivery/@DelTime
530: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) end
531: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/) end
532: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
533: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
534: /Docs/Doc/DocItems/DocItem/PricePu=145,72
535: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
536: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
537: /Docs/Doc/DocItems/DocItem/PriceUnit=0
538: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
539: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
540: /Docs/Doc/DocItems/DocItem/PriceCalculation=0
541: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
542: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
543: /Docs/Doc/DocItems/DocItem/ItemVal=145,72
544: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
545: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
546: /Docs/Doc/DocItems/DocItem/InputKey=0
547: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
548: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
549: /Docs/Doc/DocItems/DocItem/AveragePurchasePrice=0
550: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
551: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
552: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/)
553: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@)
554: /Docs/Doc/DocItems/DocItem/Tax/@TaxCode=00
555: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end
556: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@)
557: /Docs/Doc/DocItems/DocItem/Tax/@TaxBra=000
558: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end
559: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@)
560: /Docs/Doc/DocItems/DocItem/Tax/@TaxBraAccess=0
561: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end
562: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@)
563: /Docs/Doc/DocItems/DocItem/Tax/@TaxSumIndex=0
564: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end
565: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/) end
566: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
567: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
568: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/)
569: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@)
570: /Docs/Doc/DocItems/DocItem/DiscountArticle/@DiscPC=0,00
571: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@) end
572: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@)
573: /Docs/Doc/DocItems/DocItem/DiscountArticle/@DiscKey=1
574: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@) end
575: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/) end
576: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
577: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
578: /Docs/Doc/DocItems/DocItem/ProceedKeyArticle=01
579: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
580: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
581: /Docs/Doc/DocItems/DocItem/ActionKey=00
582: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
583: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
584: /Docs/Doc/DocItems/DocItem/ContactCommissionArticle=0,00
585: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
586: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
1.1.1.2 ! misho 587: /Docs/Doc/DocItems/DocItem/QuantdependentPriceKey
1.1 misho 588: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
589: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
590: /Docs/Doc/DocItems/DocItem/Quant=1
591: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
592: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
593: /Docs/Doc/DocItems/DocItem/QuantUnit
594: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
595: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
596: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/)
597: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@)
598: /Docs/Doc/DocItems/DocItem/Meas/@Count=1
599: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end
600: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@)
601: /Docs/Doc/DocItems/DocItem/Meas/@Length=0,000
602: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end
603: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@)
604: /Docs/Doc/DocItems/DocItem/Meas/@Width=0,000
605: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end
606: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@)
607: /Docs/Doc/DocItems/DocItem/Meas/@Height=0,000
608: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end
609: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/) end
610: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
611: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
612: /Docs/Doc/DocItems/DocItem/DecimalPlace=0
613: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
614: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
615: /Docs/Doc/DocItems/DocItem/MultiplierQuant=1,000000
616: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
617: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
618: /Docs/Doc/DocItems/DocItem/DifferingQuantUnit
619: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
620: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
621: /Docs/Doc/DocItems/DocItem/DecimalPlaceConversion=0
622: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
623: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
624: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/)
625: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@)
626: /Docs/Doc/DocItems/DocItem/WeightArticle/@Amount=0
627: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@) end
628: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@)
629: /Docs/Doc/DocItems/DocItem/WeightArticle/@Unit=0
630: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@) end
631: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/) end
632: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
633: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
634: /Docs/Doc/DocItems/DocItem/Wreath=0,000
635: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
636: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
637: /Docs/Doc/DocItems/DocItem/Stock=1
638: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
639: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
640: /Docs/Doc/DocItems/DocItem/CostUnitArticle
641: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
642: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
643: /Docs/Doc/DocItems/DocItem/SerialNbKey=0
644: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
645: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
646: /Docs/Doc/DocItems/DocItem/TextComplementKey=0
647: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
648: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
649: /Docs/Doc/DocItems/DocItem/PartsListPrintKey
650: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
651: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/)
652: /Docs/Doc/DocItems/DocItem/Prod=0000000000
653: gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end
654: gen_xml(prefix=/Docs/Doc/DocItems/) end
655: gen_xml(prefix=/Docs/Doc/) end
656: gen_xml(prefix=/Docs/Doc/)
657: gen_xml(prefix=/Docs/Doc/Payment/)
658: /Docs/Doc/Payment/PaymentKey=0
659: gen_xml(prefix=/Docs/Doc/Payment/) end
660: gen_xml(prefix=/Docs/Doc/Payment/)
661: /Docs/Doc/Payment/ReminderKey=00
662: gen_xml(prefix=/Docs/Doc/Payment/) end
663: gen_xml(prefix=/Docs/Doc/Payment/)
664: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/)
665: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
666: /Docs/Doc/Payment/PayTerms/@PayTerm=1
667: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
668: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
669: /Docs/Doc/Payment/PayTerms/@PayDays=000
670: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
671: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
672: /Docs/Doc/Payment/PayTerms/@CashDiscDays1=000
673: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
674: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
675: /Docs/Doc/Payment/PayTerms/@CashDiscDays2=000
676: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
677: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
678: /Docs/Doc/Payment/PayTerms/@CashDiscPer1=0,00
679: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
680: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
681: /Docs/Doc/Payment/PayTerms/@CashDiscPer2=0,00
682: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
683: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/) end
684: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/)
685: /Docs/Doc/Payment/PayTerms
686: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
687: /Docs/Doc/Payment/PayTerms/@PayTerm=2
688: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
689: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
690: /Docs/Doc/Payment/PayTerms/@PayDays=000
691: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
692: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
693: /Docs/Doc/Payment/PayTerms/@CashDiscDays1=000
694: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
695: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
696: /Docs/Doc/Payment/PayTerms/@CashDiscDays2=000
697: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
698: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
699: /Docs/Doc/Payment/PayTerms/@CashDiscPer1=0,00
700: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
701: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@)
702: /Docs/Doc/Payment/PayTerms/@CashDiscPer2=0,00
703: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end
704: gen_xml(prefix=/Docs/Doc/Payment/PayTerms/) end
705: gen_xml(prefix=/Docs/Doc/Payment/) end
706: gen_xml(prefix=/Docs/Doc/) end
707: gen_xml(prefix=/Docs/Doc/)
708: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/)
709: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
710: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTaxFree=145,72
711: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
712: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
713: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax1=0,00
714: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
715: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
716: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax2=0,00
717: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
718: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
719: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax3=0,00
720: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
721: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
722: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax4=0,00
723: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
724: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
725: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax5=0,00
726: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
727: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
728: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax6=0,00
729: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
730: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
731: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax7=0,00
732: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
733: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@)
734: /Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax8=0,00
735: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end
736: gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/) end
737: gen_xml(prefix=/Docs/Doc/) end
738: gen_xml(prefix=/Docs/Doc/)
739: /Docs/Doc/GrossAmount=145,72
740: gen_xml(prefix=/Docs/Doc/) end
741: gen_xml(prefix=/Docs/Doc/)
742: /Docs/Doc/ProceedAmount=145,72
743: gen_xml(prefix=/Docs/Doc/) end
744: gen_xml(prefix=/Docs/Doc/)
745: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/)
746: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
747: /Docs/Doc/NetAmountByPayTerm2/@Sum0=0,00
748: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
749: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
750: /Docs/Doc/NetAmountByPayTerm2/@Sum1=0,00
751: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
752: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
753: /Docs/Doc/NetAmountByPayTerm2/@Sum2=0,00
754: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
755: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
756: /Docs/Doc/NetAmountByPayTerm2/@Sum3=0,00
757: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
758: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
759: /Docs/Doc/NetAmountByPayTerm2/@Sum4=0,00
760: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
761: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
762: /Docs/Doc/NetAmountByPayTerm2/@Sum5=0,00
763: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
764: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
765: /Docs/Doc/NetAmountByPayTerm2/@Sum6=0,00
766: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
767: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
768: /Docs/Doc/NetAmountByPayTerm2/@Sum7=0,00
769: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
770: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@)
771: /Docs/Doc/NetAmountByPayTerm2/@Sum8=0,00
772: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end
773: gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/) end
774: gen_xml(prefix=/Docs/Doc/) end
775: gen_xml(prefix=/Docs/Doc/)
776: gen_xml(prefix=/Docs/Doc/TaxCodes/)
777: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
778: /Docs/Doc/TaxCodes/@TaxCode1=0
779: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
780: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
781: /Docs/Doc/TaxCodes/@TaxCode2=0
782: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
783: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
784: /Docs/Doc/TaxCodes/@TaxCode3=0
785: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
786: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
787: /Docs/Doc/TaxCodes/@TaxCode4=0
788: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
789: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
790: /Docs/Doc/TaxCodes/@TaxCode5=0
791: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
792: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
793: /Docs/Doc/TaxCodes/@TaxCode6=0
794: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
795: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
796: /Docs/Doc/TaxCodes/@TaxCode7=0
797: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
798: gen_xml(prefix=/Docs/Doc/TaxCodes/@)
799: /Docs/Doc/TaxCodes/@TaxCode8=0
800: gen_xml(prefix=/Docs/Doc/TaxCodes/@) end
801: gen_xml(prefix=/Docs/Doc/TaxCodes/) end
802: gen_xml(prefix=/Docs/Doc/) end
803: gen_xml(prefix=/Docs/) end
804: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>