wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Parsing Error web-app_2_4.xsd. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Parsing Error web-app_2_4.xsd. " Watch "Parsing Error web-app_2_4.xsd. " New topic
Author

Parsing Error web-app_2_4.xsd.

Karthi Bala
Ranch Hand

Joined: Jul 27, 2001
Posts: 48
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??


Karthi Bala<br />SCJP 1.2, SCWCD 1.3, SCWCD 1.4, SCDJWS (Awaiting Result)<br /> <br />Where there is a will,there is a WAY.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Parsing Error web-app_2_4.xsd.
 
Similar Threads
Servlet init param (JavaRanch mock question)
Scripting Invalid and EL Ignored elements not working?
XML Schemas and CDATA
Simple Type Inheritance
API for Reading XML Schema