Book a Demo

Author Topic: Problem with DTD  (Read 3616 times)

pebran

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Problem with DTD
« on: November 25, 2009, 09:20:39 pm »
Trying to import a valid xsd that contains a DOCTYPE gives me this error message:
“The element ‘xsd:schema’ is used but not declared in the DTD/Schema.”
The xsd starts with :

<?xml version="1.0"?>
<!DOCTYPE xsd:schema [ ... declarations in here ...]

and the root element is defined as:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

The schema validates OK with XML Spy so why cant I import this to EA?

Thanks,
Peter

pebran

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Problem with DTD
« Reply #1 on: November 26, 2009, 11:25:14 pm »
And let me add to the above:
Is it the use of DTD in the schema that is done wrongly - though it is validated OK in XML Spy - or is it EA that is in error?

It would be nice if someone from Sparx could comment on this.

/Peter

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Problem with DTD
« Reply #2 on: November 26, 2009, 11:49:55 pm »
Peter,

This is a user forum (although the Sparxians often help out as well), if you want a reply from Sparx you better send a support request their way.

Geert