This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 102568 - validation error is not pointing at the right error
Summary: validation error is not pointing at the right error
Status: RESOLVED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Validation (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 04:03 UTC by Murali Pottlapelli
Modified: 2007-07-17 21:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (40.42 KB, application/octet-stream)
2007-04-26 04:04 UTC, Murali Pottlapelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murali Pottlapelli 2007-04-26 04:03:50 UTC
In the attached project WSDL's in line schema (types) target name space and
imported documents name space are same. I know it is invalid, but validation
error is not accurate.

	<wsdl:types>
		<xsd:schema
			targetNamespace="http://java.sun.com/products/oss/xml/TroubleTicket"
			xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:import
				namespace="http://java.sun.com/products/oss/xml/TroubleTicket"
  				schemaLocation="XmlTroubleTicketSchema.xsd"/>
 		</xsd:schema>
	</wsdl:types>


changing targetNamespace from http://java.sun.com/products/oss/xml/TroubleTicket
to http://java.sun.com/products/oss/xml/TroubleTicket1 works, it is hard to
figure out what went wrong for user.
Comment 1 Murali Pottlapelli 2007-04-26 04:04:56 UTC
Created attachment 41690 [details]
project
Comment 2 Vladimir Yaroslavskiy 2007-04-26 09:37:58 UTC
It is validation of wsdl, not bpel.
Comment 3 Shivanand Kini 2007-07-17 21:14:25 UTC
I saw this error mentioned in the lot of errors, that were thrown:

C:/Documents and Settings/skini/My Documents/NetBeansProjects/JavaApplication1/src/TroubleTicket.wsdl:32,3
Error: src-import.1.1: The namespace attribute 'http://java.sun.com/products/oss/xml/TroubleTicket' of an <import>
element information item must not be the same as the targetNamespace of the schema it exists in.


I also saw some stackoverflowerrors. I will create a new bug for that and close this as invalid.