开发者

What is wrong with this XPath Expression in a jaxb bindings file?

trying to evaluate the XPath expression /xs:schema/xs:element[@name='StrikeOptionReservationSummaryData']/xs:complexType

with the following document produces an XPathExpressionException

<xs:schema>

<xs:element name="StrikeOptionReservationSummaryData">

<xs:complexType>

...

</xs:complexType>

</xs:element>

<xs:schema>

The error from from xjc is [ERROR] XPath error: null

开发者_如何转开发

What is wrong with this?


It's a lousy diagnostic, but perhaps you didn't give the XPath processor a binding for the namespace prefix "xs"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜