Book a Demo

Author Topic: Generate XML Schema generates empty xs:include tag  (Read 2222 times)

KickMeToAndy

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Generate XML Schema generates empty xs:include tag
« on: December 11, 2009, 07:02:36 pm »
Hello,
i am trying the generate the xml schema from my model. i am using
the UML Profile for XML according to the documentation.

since i want to structure my model, to make it more readable, i am
using schema packages. when i generate the xml schema using the
code engeneering option an empty <xs:include/> is generated (see
snippet below). is there a way to prevent that import, or is there
something wrong with my model ? The problem with the empty tag is
that jaxb cannot handle the tag. i am using jaxb to generate java sources from the schema.

thanks in advance,
cheers,
andy

Code: [Select]
<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.xxx.de/ffe" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dbs="http://www.xxx.de/ffe">
      <xs:import namespace=""/>
      <xs:include/>
      <xs:element name="AuftragErfassenResponse" type="dbs:AuftragErfassenResponse"/>
......
« Last Edit: December 11, 2009, 07:04:04 pm by KickMeToAndy »