Skip to content

Commit 0e2f8ae

Browse files
committed
Removed unused patterns in schema
1 parent 68204a1 commit 0e2f8ae

1 file changed

Lines changed: 1 addition & 58 deletions

File tree

src/docbuild/config/xml/data/portal-config-schema.rnc

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -481,15 +481,6 @@ div {
481481
db:refpurpose [ "Product definition" ]
482482
]
483483
div {
484-
ds.productid.attr =
485-
## Product ID, must be unique across entire site config, used as first-level path element
486-
[
487-
db:refpurpose [ "Product ID, must be unique across entire site config, used as first-level path element" ]
488-
]
489-
# TODO: Simplify to id?
490-
# attribute productid { ds.type.id }
491-
ds.id.attr
492-
493484
ds.schemaversion.attr =
494485
## Version of the schema, verifies that portal schema major version and version of product configuration match
495486
[
@@ -832,13 +823,6 @@ div {
832823
"unsupported"
833824
}
834825

835-
ds.setid.attr =
836-
## Set ID, must be unique across the configuration for a single product
837-
[
838-
db:refpurpose [ "Set ID, must be unique across the configuration for a single product" ]
839-
]
840-
attribute setid { ds.type.id }
841-
842826
ds.navigation.attr =
843827
## Whether to build a navigational page for this product version
844828
[
@@ -1256,47 +1240,6 @@ ds.internal =
12561240
}
12571241

12581242

1259-
[
1260-
db:refname [ "ref" ]
1261-
db:refpurpose [ "Reference to a document or navigational page" ]
1262-
]
1263-
div {
1264-
# The following definition is a bit complicated, so -- the intention is to
1265-
# allow links to either of:
1266-
# * a specific product (i.e. show the most recent product revision, link will
1267-
# only support the current UI language)
1268-
# * a specific docset (link will only support the current UI language)
1269-
# * a specific deliverable (by DC), subdeliverable (by DC and rootid), or an
1270-
# external link (by link ID)
1271-
1272-
ds.product.attr =
1273-
## Product ID of referenced document or navigational page
1274-
[
1275-
db:refpurpose [ "Product ID of referenced document or navigational page" ]
1276-
]
1277-
attribute product { ds.type.id }
1278-
1279-
ds.docset.attr =
1280-
## Docset ID of referenced document or navigational page
1281-
[
1282-
db:refpurpose [ "Docset ID of referenced document or navigational page" ]
1283-
]
1284-
attribute docset { ds.type.id }
1285-
1286-
ds.deliverable.attr =
1287-
## The deliverable ID to reference
1288-
[
1289-
db:refpurpose [ "The deliverable ID of reference" ]
1290-
]
1291-
attribute deliverable { ds.type.id }
1292-
1293-
ds.subdeliverable.attr =
1294-
## Root ID of referenced subdeliverable document
1295-
[
1296-
db:refpurpose [ "Root ID of referenced subdeliverable document" ]
1297-
]
1298-
attribute subdeliverable { ds.type.id }
1299-
13001243
[
13011244
db:refname [ "ref" ]
13021245
db:refpurpose [ "Reference to a document or navigational page" ]
@@ -1320,9 +1263,9 @@ div {
13201263

13211264
ds.descriptions?
13221265
}
1323-
}
13241266
}
13251267

1268+
13261269
[
13271270
db:refname [ "external" ]
13281271
db:refpurpose [ "Container for references to externally-hosted documents" ]

0 commit comments

Comments
 (0)