Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parsing Error web-app_2_4.xsd.

 
Karthi Bala
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have been trying to create web descriptor file using the latest xsd schema web-app_2_4.xsd. I am using XML Spy tool.
The tool complains that about section with:
<xsd:simpleContent>
<xsd:extension base="j2ee:nonEmptyStringType"/>
</xsd:simpleContent>
in servlet-nameType element of the schema, as nonEmptyStringType definitions is a defined as a xsd:complexType and the tool rightly says that simple type cannot contain complex type.
Is this a known bug in the schema?
So I am not able to validate the web.xml
Any ideas??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic