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

Bug 324854

Summary: [Doc] "Adding criteria to help content": XML example snippet invalid
Product: [Eclipse Project] Platform Reporter: Holger Voormann <eclipse>
Component: DocAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: ankur_sharma, daniel_megert
Version: 3.6   
Target Milestone: 3.7 M4   
Hardware: All   
OS: All   
Whiteboard:

Description Holger Voormann CLA 2010-09-09 10:11:36 EDT
In "Adding criteria to help content":
http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/guide/ua_help_content_criteria.htm
the first XML example snippet is invalid: in all four empty elements the "/" char is missing at the end before ">".

Is:
 <toc href="tochref">
      <criteria  name="platform"  value="AIX">
      <criteria  name="platform"  value="Windows">
      <topic label="label1" href="href1">
          <criteria  name="platform" value="Windows">
      </topic>
      <topic label="label2" href="href2">
          <criteria name="platform" value="AIX">
      </topic>
 </toc>


Should:
 <toc href="tochref">
      <criteria  name="platform"  value="AIX"/>
      <criteria  name="platform"  value="Windows"/>
      <topic label="label1" href="href1">
          <criteria  name="platform" value="Windows"/>
      </topic>
      <topic label="label2" href="href2">
          <criteria name="platform" value="AIX"/>
      </topic>
 </toc>
Comment 1 Dani Megert CLA 2010-11-18 02:49:54 EST
Fixed in HEAD.
Available in builds >= N20101118-2000.
Comment 2 Dani Megert CLA 2010-12-07 07:32:18 EST
Verified in I20101206-1800.