<?xml version="1.0" encoding="UTF-8"?> | |
<testSuite suiteName="AD" description="Evaluated occursCount based on hidden elements" | |
xmlns="http://www.ibm.com/xmlns/dfdl/testData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ct="http://w3.ibm.com/xmlns/dfdl/ctInfoset" xsi:schemaLocation="http://www.ibm.com/xmlns/dfdl/testData /xsd/tdml.xsd"> | |
<parserTestCase name="AD000" root="list" model="AD.dfdl.xsd" | |
description="occursCount with expressions"> | |
<document>3 | |
first x | |
second x | |
third x | |
5 | |
first y | |
second y | |
third y | |
fourth y | |
fifth y | |
ignored input | |
more ignored input | |
</document> | |
<infoset> | |
<dfdlInfoset > | |
<list xmlns="http://example.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<x type="xsd:string">first x</x> | |
<x type="xsd:string">second x</x> | |
<x type="xsd:string">third x</x> | |
<y type="xsd:string">first y</y> | |
<y type="xsd:string">second y</y> | |
<y type="xsd:string">third y</y> | |
<y type="xsd:string">fourth y</y> | |
<y type="xsd:string">fifth y</y> | |
</list> | |
</dfdlInfoset> | |
</infoset> | |
</parserTestCase> | |
</testSuite> |