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

Bug 366733

Summary: [EclipseLink] XmlPath support
Product: [WebTools] Dali JPA Tools Reporter: Neil Hauge <neil.hauge>
Component: JAXBAssignee: Paul Fullbright <paul.fullbright>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Keywords: plan
Version: 3.1   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard: EclipseLink
Bug Depends on:    
Bug Blocks: 327907    

Description Neil Hauge CLA 2011-12-14 12:55:06 EST
Dali needs to add validation and content assist support for XmlPath.
Comment 1 Paul Fullbright CLA 2012-01-27 10:32:52 EST
Basic validation has been added for M5.
More importantly, when XmlPath is specified, validation is not performed for XmlElement/XmlAttribute name and namespace.
Comment 2 Paul Fullbright CLA 2012-03-16 11:41:47 EDT
The following validation was committed for M6:

XmlPath
- unspecified xpath string
- xpath string starting with root delimiter
- invalid (unparseable) xpath
- self (".") step not first step
- unresolved namespace prefix
- unresolved element or attribute
- attribute not last step
- text step not last step

XmlPaths
- number of XmlElements not equal to number of XmlPaths