File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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

Parsing Error web-app_2_4.xsd.

Karthi Bala
Ranch Hand

Joined: Jul 27, 2001
Posts: 48
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:extension base="j2ee:nonEmptyStringType"/>
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:
subject: Parsing Error web-app_2_4.xsd.
It's not a secret anymore!