Skip to content

Commit

Permalink
Fix addon.xsd (#3320)
Browse files Browse the repository at this point in the history
The namespace was missing, leading to problems in SAT

Signed-off-by: Jan N. Klug <github@klug.nrw>
  • Loading branch information
J-N-K authored Jan 16, 2023
1 parent 10eb42a commit 8f9dafd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bundles/org.openhab.core.addon.xml/addon-1.0.0.xsd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:addon="https://openhab.org/schemas/addon/v1.0.0"
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
targetNamespace="https://openhab.org/schemas/addon/v1.0.0">

Expand All @@ -9,16 +10,16 @@
<xs:element name="addon">
<xs:complexType>
<xs:sequence>
<xs:element name="type" type="addonType"/>
<xs:element name="type" type="addon:addonType"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="description" type="xs:string"/>
<xs:element name="author" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The organization maintaining the add-on (e.g. openHAB). Individual developer names should be avoided.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="connection" type="connectionType" minOccurs="0"/>
<xs:element name="countries" type="countryType" minOccurs="0">
<xs:element name="connection" type="addon:connectionType" minOccurs="0"/>
<xs:element name="countries" type="addon:countryType" minOccurs="0">
<xs:annotation>
<xs:documentation>Comma-separated list of two-letter ISO country codes.</xs:documentation>
</xs:annotation>
Expand Down

0 comments on commit 8f9dafd

Please sign in to comment.