Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-doc-dev] Repeated error in platform UI

We should not escape in this context. If we do, please open a defect
against PDE UI.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854



                                                                                                                                       
                      John                                                                                                             
                      Arthorne/Ottawa/IBM@IBM        To:       platform-doc-dev@xxxxxxxxxxx                                            
                      CA                             cc:                                                                               
                      Sent by:                       Subject:  Re: [platform-doc-dev] Repeated error in platform UI                    
                      platform-doc-dev-admin@                                                                                          
                      eclipse.org                                                                                                      
                                                                                                                                       
                                                                                                                                       
                      03/28/2003 09:49 AM                                                                                              
                      Please respond to                                                                                                
                      platform-doc-dev                                                                                                 
                                                                                                                                       
                                                                                                                                       




I should point out for problem #2, that the <parent> tag was escaped in the
I200303271505 build, but that wasn't sufficient for the chkpii tests to
pass.  Here is the segment that appeared in that build:

                  The translatable name of this scope for display in the
UI. If this scope has a parent, it is not necessary to add &quot;(extends
&lt;parent&gt;)&quot; to the name. This will be automatically added by the
UI where necessary.

I guess the schema converter converted the escape sequences to <parent>,
and then chkpii identified this as an illegal tag.  This raises the
question, is there any way to escape a '<' in an extension point schema
description so that the auto-generated extension point doc still contains
the escape sequence?
--



                                                                          
   Dejan                                                                  
   Glozic/Toronto/IBM@IBMCA             To:                               
   Sent by:                     platform-doc-dev@xxxxxxxxxxx              
   platform-doc-dev-admin@eclip         cc:                               
   se.org                               Subject:                          
                                [platform-doc-dev] Repeated error in      
                                platform UI                               
   03/27/2003 06:00 PM                                                    
   Please respond to                                                      
   platform-doc-dev                                                       
                                                                          





I will repost my earlier post about errors in org.eclipse.ui.commands
extension point schema file because the same error is present in today's
build as well. To be clear, platform Ui team must fix the file:



Extension point schema for org.eclipse.ui.commands extension point
(commands.exsd) has the following typos causing CHKPII errors:

1) Annotation for the attribute 'platform' of the element 'keyBinding' has
a typo resulting in opened '<code>' tag:

An optional attribute indicating that this key binding is only defined for
the specified platform. The possible values of the <code>platform</code>
attribute are the set of the possible values returned by <code>
org.eclipse.swt.SWT.getPlatform()<code>. <--- SHOULD BE </code>

2) Annotation for the attribute 'name' of the element 'parent' has
unescaped tags:

The translatable name of this scope for display in the UI. If this scope
has a parent, it is not necessary to add "(extends <parent>)" to the name.
This will be automatically added by the UI where necessary.

PDE will pass this text to HTML as-is. If you are not using formatting HTML
tags as above, you must escape them as follows:

"(extends &lt;parent&gt;)"

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854

_______________________________________________
platform-doc-dev mailing list
platform-doc-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-doc-dev






Back to the top