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

Bug 98694

Summary: pde plug-in manifest editor does not add namespace markup
Product: [Eclipse Project] PDE Reporter: Andrew Ferguson <andrew.ferguson>
Component: UIAssignee: 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:

Description Andrew Ferguson CLA 2005-06-07 11:13:50 EDT
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
Comment 1 Wassim Melhem CLA 2005-06-07 12:12:03 EDT

*** This bug has been marked as a duplicate of 77043 ***