| Summary: | pde plug-in manifest editor does not add namespace markup | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Andrew Ferguson <andrew.ferguson> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
hi, if you edit plugin.xml via the special pde plugin editor, then the generated schema file does not include namespace markup. eg. I'd really like this: <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> <schema targetNamespace="org.eclipse.cdt.core"> <annotation> <appInfo> <meta.schema plugin="org.eclipse.cdt.core" id="ManagedBuildTools" name="Managed Build Tools 2.0 (deprecated)"/> </appInfo> <documentation> to become this: <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> <schema targetNamespace="org.eclipse.cdt.core" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:annotation> <xs:appInfo> <meta.schema plugin="org.eclipse.cdt.core" id="ManagedBuildTools" name="Managed Build Tools 2.0 (deprecated)"/> </xs:appInfo> <xs:documentation> ie (1) add an attribute xmlns:xs="http://www.w3.org/2001/XMLSchema" to the top level element (2) add an xs: namespace prefix to every schema element in the generated schema this is important for tools which process the generated schema (for example binding tools like JAXB) thanks, Andrew