Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 55741 Details for
Bug 167584
UCD: Artifacts: Fix WSDLs from artifacts so that they pass validation in the generated projects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for this bug
patch.txt (text/plain), 1.21 KB, created by
Saurabh Dravid
on 2006-12-15 00:55:24 EST
(
hide
)
Description:
Patch for this bug
Filename:
MIME Type:
Creator:
Saurabh Dravid
Created:
2006-12-15 00:55:24 EST
Size:
1.21 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.wsdm.tooling.validation >Index: src/org/eclipse/tptp/wsdm/tooling/util/internal/XsdUtils.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.tptp.wsdm.tooling.validation/src/org/eclipse/tptp/wsdm/tooling/util/internal/XsdUtils.java,v >retrieving revision 1.5 >diff -u -r1.5 XsdUtils.java >--- src/org/eclipse/tptp/wsdm/tooling/util/internal/XsdUtils.java 25 Sep 2006 04:24:04 -0000 1.5 >+++ src/org/eclipse/tptp/wsdm/tooling/util/internal/XsdUtils.java 15 Dec 2006 05:51:10 -0000 >@@ -525,10 +525,13 @@ > if (!isImportNSExists(schema, namespace)) > { > // Create XSD Import element >+ // Always insert the import element as first element is schema >+ // NOTE : Fix for Bug 167584 "Fix WSDLs from artifacts so that they pass validation in the generated projects" >+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=167584 > XSDImport xsdImport = XSDFactory.eINSTANCE.createXSDImport(); > xsdImport.setNamespace(namespace); > xsdImport.setSchemaLocation(schemaLocation); >- schema.getContents().add(index+1, xsdImport); >+ schema.getContents().add(0, xsdImport); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 167584
: 55741 |
57891
|
58648
|
60049