1 Reply Latest reply on Apr 24, 2003 10:04 AM by sysuser1

    XMLFileLoader - Inexplicable error using <unknown-pk> in <en

    sysuser1

      The dtd allows the element <unknown-pk> in the and in the section.

      a)
      <unknown-pk> in the section works as expected

      b)

      ...
      <unknown-pk>
      </unknown-pk>
      ...


      results in an error:
      ... "unknown-pk" incomplete ...
      Still fine.

      c)

      ...
      <unknown-pk>
      <unknown-pk-class>java.lang.Long</unknown-pk-class>
      </unknown-pk>
      ...


      The use of any regular subelement of <unknown-pk> as for instance <unknown-pk-class> results in the inexplicable error:
      ...
      The content of element type "entity" must match ... unknown-pk?
      ...

      Anyone has an example how to override the unknown-pk defaults ( JBoss 3.2 & MySQL ) ?