Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349576 - Better exception when "" is passed in as a location for externalized metadata
Summary: Better exception when "" is passed in as a location for externalized metadata
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 11:01 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:34 EDT (History)
0 users

See Also:


Attachments
Propsed Fix (948 bytes, patch)
2011-06-16 14:26 EDT, Matt MacIvor CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt MacIvor CLA 2011-06-16 11:01:07 EDT
Currently when passing in "" as a location for externalized metadata, an exception is thrown wrapping a SAXParseException with the message: "Content Not Allowed In Prolog".

A more descriptive error should be reported.
Comment 1 Matt MacIvor CLA 2011-06-16 14:26:15 EDT
Created attachment 198144 [details]
Propsed Fix
Comment 2 Matt MacIvor CLA 2011-06-24 13:12:19 EDT
fix checked in to 2.3.1 and trunk.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:34:57 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink