FpML Issues Tracker

1115: Ambiguous XPath crashes JAXB compiler

April 19, 2012

closed

Major

Always

Schema

duncanjv

mgratacos

Summary

We get an error when attempting to create JAXB business objects from the reporting schema because of an ambiguous XPath. The problem is with child elements named "definePosition" within complexType "PositionsAsserted". I have attached XMLSpy snapshots illustrating the issue and our temporary resolution of it. I have also attached the modified XSD file. This is a case where it may be clearer to add container elements to remove the ambiguity. It's really a subtle issue.

Attachments

  • Reporting5.3.png
  • Notes:

  • jordibarcelo

    06/05/13 9:05 am

    Testing with jaxbbuilder.2.0.1581 in NetBeans IDE, Reporting 5.3 schema can be compiled with no errors.

    Screenshot attached.

  • Leave an update

    You must be logged in to post an update.