| Summary: | [Validation] Validation and content assist for XmlType.factoryClass/factoryMethod | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Paul Fullbright <paul.fullbright> |
| Component: | JAXB | Assignee: | Neil Hauge <neil.hauge> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | nan.n.li, neil.hauge |
| Version: | unspecified | ||
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Paul Fullbright
A couple of more related validations: -If factoryClass() is other than DEFAULT.class, then factoryMethod() must be specified (i.e. the default value ““ cannot be used.) A validation error is giving saying "If a factory class is specified, a factory method must also be specified." when factoryClass() is DEFAULT.class and factoryMethod() is "". Don't think we should give the validation error with this case based on the spec. -If factoryClass() is DEFAULT.class and factoryMethod() is not ““, then factoryMethod() be a method in this class. No validation error is given when the method given to factoryMethod() does not exist. |