Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324854 - [Doc] "Adding criteria to help content": XML example snippet invalid
Summary: [Doc] "Adding criteria to help content": XML example snippet invalid
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Doc (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 10:11 EDT by Holger Voormann CLA
Modified: 2010-12-07 07:32 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.