trying to evaluate an XPath expression /xs:schema/xs:element[@name='StrikeOptionReservationSummaryData']/xs:complexType
with the following document throws an XPathExpressionException
<xs:schema>
<xs:element name="StrikeOptionReservationSummaryData">
<xs:complexType>
...
</xs:complexType>
</xs:element>
<xs:schema>
The error from xjc is [ERROR] XPath error: null
What is wrong with this?
source
share