Community
Participate
Working Groups
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
Fixed on master in commit http://git.eclipse.org/c/buckminster/buckminster.git/commit/?id=a93077b46ce3ff6231c485140d6bf6522ef79dd1