Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349576

Summary: Better exception when "" is passed in as a location for externalized metadata
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Propsed Fix none

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