This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 254563 - Import process should encode special characters that are part of URL's
Summary: Import process should encode special characters that are part of URL's
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Whiteman CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 01:56 EST by Ramesh CLA
Modified: 2012-01-03 13:48 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramesh CLA 2008-11-07 01:56:25 EST
Build ID: COSMOS-1.0.0-200810221725

Steps To Reproduce:
During import, URL references contained in SMLIF model should be properly encoded to escape special-characters (if any) in it instead of removing them so that the file-generation for the referring URL's would be proper to contain the queryParameters.

Steps to reproduce:
1. Import others\remote-document.xml file with SML-IF import plugin 
2. Check the import results for correctness
3. The generated SML file for URL "http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/tests/resource-modeling/org.eclipse.cosmos.rm.validation.tests/src/test-resources/others/sampleLocatorFile.xml?root=Technology_Project&view=co" looses the queryParameters  "?root=Technology_Project&view=co" to just contain filename "sampleLocatorFile.xml"

Instead import process should encode those extra-information/query-parameters so that the generated filename contains this important information. Otherwise export of the above contents result in an invalid URL (with out queryParameters)


More information: