diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-22 14:08:35 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-22 14:31:46 +0100 |
commit | 960411badb0dc83e0e04526fe33081c7d6fdf348 (patch) | |
tree | fe17669561ab6392e9260c006d16fb430e3c1d0c /sfx2 | |
parent | e5202379e3ffa65e916e1d3dc14959d53d65acd7 (diff) |
sfx2 classification: mention policy name in the example
BAILS says the document metadata must mention this, BAF says that the
BusinessAuthorization has a policy name, but the published XSD doesn't
give a way to express this in the XML instance. Use this markup till we
figure out if there is a better way.
Change-Id: I8e3550c0445b2d143a1f7e0c69b39b6c759f468e
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/classification/README | 4 | ||||
-rw-r--r-- | sfx2/classification/baf.xsd | 4 | ||||
-rw-r--r-- | sfx2/classification/example.xml | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/sfx2/classification/README b/sfx2/classification/README new file mode 100644 index 000000000000..ff1367ac1ce7 --- /dev/null +++ b/sfx2/classification/README @@ -0,0 +1,4 @@ +Involved standards: + +- BAF is <https://www.tscp.org/wp-content/uploads/2013/08/TSCP_BAFv1.pdf> +- BAILS is <http://www.tscp.org/wp-content/uploads/2013/08/TSCP_BAILSv1.pdf> diff --git a/sfx2/classification/baf.xsd b/sfx2/classification/baf.xsd index dc3e9617ad5b..778cfbec6036 100644 --- a/sfx2/classification/baf.xsd +++ b/sfx2/classification/baf.xsd @@ -7,6 +7,8 @@ Business Authorization --> <xs:complexType name="BusinessAuthorization"> <xs:sequence> + <xs:element ref="PolicyAuthorityName"/> + <xs:element ref="PolicyName"/> <xs:element ref="AdministrativeData"/> <xs:element ref="Scope" minOccurs="0" maxOccurs="1"/> <xs:element ref="Included"/> @@ -184,6 +186,8 @@ Others </xs:sequence> </xs:complexType> </xs:element> + <xs:element name="PolicyAuthorityName" type="xs:string"/> + <xs:element name="PolicyName" type="xs:string"/> <xs:element name="ProgramID" type="xs:string"/> <xs:element name="OrganizationsScope"> <xs:complexType> diff --git a/sfx2/classification/example.xml b/sfx2/classification/example.xml index a409684c4339..40acd8a01709 100644 --- a/sfx2/classification/example.xml +++ b/sfx2/classification/example.xml @@ -1,5 +1,7 @@ <?xml version="1.0"?> <baf:BusinessAuthorization xmlns:baf="urn:tscp:names:baf:1.1"> + <baf:PolicyAuthorityName>TSCP Example Policy Authority</baf:PolicyAuthorityName> + <baf:PolicyName>TSCP Example Policy</baf:PolicyName> <baf:AdministrativeData> <baf:ProgramID>urn:example:tscp:1</baf:ProgramID> </baf:AdministrativeData> |