Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357944 - Parse error when using <iu> tag in category.xml with action site.p2
Summary: Parse error when using <iu> tag in category.xml with action site.p2
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 10:07 EDT by js Mising name CLA
Modified: 2019-02-25 14:40 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description js Mising name CLA 2011-09-16 10:07:39 EDT
Build Identifier: 20110218-0911

Cannot create p2 site that shows all bundles with a category.xml containing    <iu> </iu> tag. Eg.:

<?xml version="1.0" encoding="UTF-8"?>
<site>
   <category-def name="all" label="All Bundles"/>
   <iu>
      <category name="all"/>
      <query><expression type="match">providedCapabilities.exists(p | p.namespace == 'osgi.bundle')</expression></query>
   </iu>

</site>

Gives this error:

publishing result
E Error parsing site stream. Unknown element "iu" in parsing state "Category Def". Check the validity of the XML file.
E Error parsing site stream. Unknown element "category" in parsing state "Category Def". Check the validity of the XML file.
E Error parsing site stream. Unknown element "query" in parsing state "Category Def". Check the validity of the XML file.
E Error parsing site stream. Unknown element "expression" in parsing state "Category Def". Check the validity of the XML file.



See:

http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.orbit/org.eclipse.orbit.releng/maps/category.xml?root=Tools_Project&view=co&content-type=text/plain

for working category.xml example.

Reproducible: Always

Steps to Reproduce:
1. Add above category.xml next to the buckminster.properties file
2. Run the site.p2 action
3. Error