I have an XSD file as shown below:
<element name="finder-def" minOccurs="0" maxOccurs="unbounded">
<complexType>
<attribute name="name" type="string" use="required"></attribute>
<attribute name="description" type="string"></attribute>
<attribute name="class" type="string" use="required"></attribute>
</complexType>
</element>
<complexType name="Dimension">
<sequence>
<element name="finder" type="Finder" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="Finder">
<attribute name="name" type="String" use="required"/>
</complexType>
The XML file corresponds to the above XSD file below:
<finder-def name="circleFinder" description="Finds circle based on msisdn" class="com.onmobile.reporting.etl.processor.common.propertyplugins.CircleIdPropertyPlugin" />
<dimension name="circleId">
<finder name="circleFinder" />
</dimension>
So, here I defined one finder-defie circleFinder, and then I want to access this element finder-defthrough finder.
So, the question is how to verify that it finder circleFinderhas its protection defined above infinder-def
source
share