Skip to content

Commit b9d2ec7

Browse files
committed
update XML namespace documentation
The XML namespace documentation was changed to better reflect the expected value. We changed the value type from a URL to an absolute URI and the wording was that this is a strict requirement and not a suggestion. Fixes OAI#1084
1 parent 85b7ba7 commit b9d2ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3002,7 +3002,7 @@ See examples for expected behavior.
30023002
Field Name | Type | Description
30033003
---|:---:|---
30043004
<a name="xmlName"></a>name | `string` | Replaces the name of the element/attribute used for the described schema property. When defined within `items`, it will affect the name of the individual XML elements within the list. When defined alongside `type` being `array` (outside the `items`), it will affect the wrapping element and only if `wrapped` is `true`. If `wrapped` is `false`, it will be ignored.
3005-
<a name="xmlNamespace"></a>namespace | `string` | The URL of the namespace definition. Value SHOULD be in the form of a URL.
3005+
<a name="xmlNamespace"></a>namespace | `string` | The URI of the namespace definition. Value MUST be in the form of an absolute URI.
30063006
<a name="xmlPrefix"></a>prefix | `string` | The prefix to be used for the [name](#xmlName).
30073007
<a name="xmlAttribute"></a>attribute | `boolean` | Declares whether the property definition translates to an attribute instead of an element. Default value is `false`.
30083008
<a name="xmlWrapped"></a>wrapped | `boolean` | MAY be used only for an array definition. Signifies whether the array is wrapped (for example, `<books><book/><book/></books>`) or unwrapped (`<book/><book/>`). Default value is `false`. The definition takes effect only when defined alongside `type` being `array` (outside the `items`).

0 commit comments

Comments
 (0)