@blockml/xsd-target 0.9.4 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocks/org/blockml/bml/target/xsd/Library.bml +19 -26
- package/blocks/org/blockml/bml/target/xsd/README.bml +14 -21
- package/blocks/org/blockml/bml/target/xsd/XsdType.bml +16 -18
- package/blocks/org/blockml/bml/target/xsd/api/CatalogEntry.bml +20 -18
- package/blocks/org/blockml/bml/target/xsd/api/XsdOptions.bml +23 -19
- package/blocks/org/blockml/bml/target/xsd/api/XsdRenderOutput.bml +23 -19
- package/blocks/org/blockml/bml/target/xsd/capability/CatalogRelativePath.bml +22 -21
- package/blocks/org/blockml/bml/target/xsd/capability/EmitBlockXsd.bml +19 -21
- package/blocks/org/blockml/bml/target/xsd/capability/EmitCatalogXml.bml +19 -21
- package/blocks/org/blockml/bml/target/xsd/capability/EmitServiceXsd.bml +19 -21
- package/blocks/org/blockml/bml/target/xsd/capability/EmitTypesXsd.bml +19 -21
- package/blocks/org/blockml/bml/target/xsd/capability/ExtraElementNames.bml +19 -21
- package/blocks/org/blockml/bml/target/xsd/capability/MemberPrefersElement.bml +19 -21
- package/blocks/org/blockml/bml/target/xsd/capability/Render.bml +22 -22
- package/blocks/org/blockml/bml/target/xsd/capability/ResolveOptions.bml +19 -21
- package/blocks/org/blockml/bml/target/xsd/capability/VocabularyElements.bml +22 -21
- package/blocks/org/blockml/bml/target/xsd/config/DefaultXsdOptions.bml +20 -18
- package/blocks/org/blockml/bml/target/xsd/config/XsdConstants.bml +63 -27
- package/blocks/org/blockml/bml/target/xsd/documentation/ArchitectureOverview.bml +15 -19
- package/blocks/org/blockml/bml/target/xsd/documentation/CatalogAndOutputLayout.bml +16 -20
- package/blocks/org/blockml/bml/target/xsd/documentation/DesignDecisions.bml +11 -17
- package/blocks/org/blockml/bml/target/xsd/documentation/Diagnostics.bml +13 -19
- package/blocks/org/blockml/bml/target/xsd/documentation/DomainVocabularyRules.bml +14 -20
- package/blocks/org/blockml/bml/target/xsd/documentation/Introduction.bml +17 -21
- package/blocks/org/blockml/bml/target/xsd/documentation/LayerSeparation.bml +15 -19
- package/blocks/org/blockml/bml/target/xsd/documentation/PackageOwnership.bml +15 -19
- package/blocks/org/blockml/bml/target/xsd/documentation/ParticleMappingRules.bml +16 -20
- package/blocks/org/blockml/bml/target/xsd/documentation/PublicApi.bml +15 -19
- package/blocks/org/blockml/bml/target/xsd/documentation/ScopeExclusions.bml +14 -18
- package/blocks/org/blockml/bml/target/xsd/documentation/V1Scope.bml +15 -19
- package/package.json +5 -5
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Capability — ExtraElementNames
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.capability.ExtraElementNames-->
|
|
3
|
+
<xsdcap:ExtraElementNames xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -20,24 +14,28 @@
|
|
|
20
14
|
xmlns:xsddocumentation="org.blockml.bml.target.xsd.documentation"
|
|
21
15
|
xmlns:type="org.blockml.bml.type">
|
|
22
16
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<is>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
<baseType>
|
|
18
|
+
core:Capability
|
|
19
|
+
</baseType>
|
|
20
|
+
<is>
|
|
21
|
+
Collect extra particle names from meta Definition blocks
|
|
22
|
+
</is>
|
|
23
|
+
<documentation>
|
|
24
|
+
XSD9/XSD11: walk META_DEFINITION_FQNS if present; recurse members and subBlocks; keep names where MemberPrefersElement; unique sort; exclude D1 identity and container names.
|
|
25
|
+
</documentation>
|
|
30
26
|
<references>
|
|
31
27
|
<see type="xsdconfig:XsdConstants" relation="SeeAlso" />
|
|
32
28
|
</references>
|
|
33
|
-
|
|
34
29
|
<properties>
|
|
35
30
|
<typeRegistry type="type:Text">
|
|
36
|
-
<documentation>
|
|
31
|
+
<documentation>
|
|
32
|
+
TypeRegistry. (required)
|
|
33
|
+
</documentation>
|
|
37
34
|
</typeRegistry>
|
|
38
35
|
<result type="type:Text">
|
|
39
|
-
<documentation>
|
|
36
|
+
<documentation>
|
|
37
|
+
Sorted unique element names. (required)
|
|
38
|
+
</documentation>
|
|
40
39
|
</result>
|
|
41
40
|
</properties>
|
|
42
|
-
|
|
43
|
-
</block>
|
|
41
|
+
</xsdcap:ExtraElementNames>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Capability — MemberPrefersElement
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.capability.MemberPrefersElement-->
|
|
3
|
+
<xsdcap:MemberPrefersElement xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -20,24 +14,28 @@
|
|
|
20
14
|
xmlns:xsddocumentation="org.blockml.bml.target.xsd.documentation"
|
|
21
15
|
xmlns:type="org.blockml.bml.type">
|
|
22
16
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<is>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
<baseType>
|
|
18
|
+
core:Capability
|
|
19
|
+
</baseType>
|
|
20
|
+
<is>
|
|
21
|
+
Decide whether a member becomes an element particle
|
|
22
|
+
</is>
|
|
23
|
+
<documentation>
|
|
24
|
+
XSD10: true if xmlRendering.kinds includes element or raw includes element; false if sole kind attribute or raw equals attribute; aggregations and associations true; default true. Attribute-only members omitted from schema.
|
|
25
|
+
</documentation>
|
|
30
26
|
<references>
|
|
31
27
|
<see type="xsddocumentation:ParticleMappingRules" relation="SeeAlso" />
|
|
32
28
|
</references>
|
|
33
|
-
|
|
34
29
|
<properties>
|
|
35
30
|
<member type="type:Text">
|
|
36
|
-
<documentation>
|
|
31
|
+
<documentation>
|
|
32
|
+
MemberDefinition. (required)
|
|
33
|
+
</documentation>
|
|
37
34
|
</member>
|
|
38
35
|
<result type="type:Boolean">
|
|
39
|
-
<documentation>
|
|
36
|
+
<documentation>
|
|
37
|
+
true if emit as xs:element particle. (required)
|
|
38
|
+
</documentation>
|
|
40
39
|
</result>
|
|
41
40
|
</properties>
|
|
42
|
-
|
|
43
|
-
</block>
|
|
41
|
+
</xsdcap:MemberPrefersElement>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Capability — Render
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.capability.Render-->
|
|
3
|
+
<xsdcap:Render xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -20,28 +14,34 @@
|
|
|
20
14
|
xmlns:xsddocumentation="org.blockml.bml.target.xsd.documentation"
|
|
21
15
|
xmlns:type="org.blockml.bml.type">
|
|
22
16
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<is>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
<baseType>
|
|
18
|
+
core:Capability
|
|
19
|
+
</baseType>
|
|
20
|
+
<is>
|
|
21
|
+
Public RenderTarget entry: TypeRegistry to XSD files and catalog
|
|
22
|
+
</is>
|
|
23
|
+
<documentation>
|
|
24
|
+
XSD1–XSD3: name xsd; accepts library|corpus|auto; always emit bml.xsd. XSD14–XSD15: always rootFiles catalog.xml; if emitDomainSchemas append types.xsd and service.xsd with catalog entries. Uses session typeRegistry and outputBasePath.
|
|
25
|
+
</documentation>
|
|
30
26
|
<references>
|
|
31
27
|
<see type="xsddocumentation:PublicApi" relation="SeeAlso" />
|
|
32
28
|
<see type="xsdcap:EmitBlockXsd" relation="SeeAlso" />
|
|
33
29
|
</references>
|
|
34
|
-
|
|
35
30
|
<properties>
|
|
36
31
|
<request type="type:Text">
|
|
37
|
-
<documentation>
|
|
32
|
+
<documentation>
|
|
33
|
+
CompileRequest with targetOptions. (required)
|
|
34
|
+
</documentation>
|
|
38
35
|
</request>
|
|
39
36
|
<renderContext type="type:Text">
|
|
40
|
-
<documentation>
|
|
37
|
+
<documentation>
|
|
38
|
+
RenderContext. (required)
|
|
39
|
+
</documentation>
|
|
41
40
|
</renderContext>
|
|
42
41
|
<result type="xsdapi:XsdRenderOutput">
|
|
43
|
-
<documentation>
|
|
42
|
+
<documentation>
|
|
43
|
+
files and rootFiles. (required)
|
|
44
|
+
</documentation>
|
|
44
45
|
</result>
|
|
45
46
|
</properties>
|
|
46
|
-
|
|
47
|
-
</block>
|
|
47
|
+
</xsdcap:Render>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Capability — ResolveOptions
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.capability.ResolveOptions-->
|
|
3
|
+
<xsdcap:ResolveOptions xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -20,25 +14,29 @@
|
|
|
20
14
|
xmlns:xsddocumentation="org.blockml.bml.target.xsd.documentation"
|
|
21
15
|
xmlns:type="org.blockml.bml.type">
|
|
22
16
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<is>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
<baseType>
|
|
18
|
+
core:Capability
|
|
19
|
+
</baseType>
|
|
20
|
+
<is>
|
|
21
|
+
Merge opaque targetOptions into required XsdOptions
|
|
22
|
+
</is>
|
|
23
|
+
<documentation>
|
|
24
|
+
XSD15/XSD16: defaults includeNonExported=true, emitDomainSchemas=true. includeNonExported has no V1 emit effect.
|
|
25
|
+
</documentation>
|
|
30
26
|
<references>
|
|
31
27
|
<see type="xsddocumentation:PublicApi" relation="SeeAlso" />
|
|
32
28
|
<see type="xsdconfig:DefaultXsdOptions" relation="SeeAlso" />
|
|
33
29
|
</references>
|
|
34
|
-
|
|
35
30
|
<properties>
|
|
36
31
|
<targetOptions type="type:Text">
|
|
37
|
-
<documentation>
|
|
32
|
+
<documentation>
|
|
33
|
+
Opaque CompileRequest.targetOptions. (optional)
|
|
34
|
+
</documentation>
|
|
38
35
|
</targetOptions>
|
|
39
36
|
<result type="xsdapi:XsdOptions">
|
|
40
|
-
<documentation>
|
|
37
|
+
<documentation>
|
|
38
|
+
Fully resolved options. (required)
|
|
39
|
+
</documentation>
|
|
41
40
|
</result>
|
|
42
41
|
</properties>
|
|
43
|
-
|
|
44
|
-
</block>
|
|
42
|
+
</xsdcap:ResolveOptions>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Capability — VocabularyElements
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.capability.VocabularyElements-->
|
|
3
|
+
<xsdcap:VocabularyElements xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -20,23 +14,30 @@
|
|
|
20
14
|
xmlns:xsddocumentation="org.blockml.bml.target.xsd.documentation"
|
|
21
15
|
xmlns:type="org.blockml.bml.type">
|
|
22
16
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<is>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
<baseType>
|
|
18
|
+
core:Capability
|
|
19
|
+
</baseType>
|
|
20
|
+
<is>
|
|
21
|
+
List sorted short names under an FQN prefix
|
|
22
|
+
</is>
|
|
23
|
+
<documentation>
|
|
24
|
+
Shared helper for types/service emit: filter registry.keys by prefix; take last segment after dot; sort.
|
|
25
|
+
</documentation>
|
|
30
26
|
<properties>
|
|
31
27
|
<typeRegistry type="type:Text">
|
|
32
|
-
<documentation>
|
|
28
|
+
<documentation>
|
|
29
|
+
TypeRegistry. (required)
|
|
30
|
+
</documentation>
|
|
33
31
|
</typeRegistry>
|
|
34
32
|
<prefix type="type:Text">
|
|
35
|
-
<documentation>
|
|
33
|
+
<documentation>
|
|
34
|
+
FQN prefix. (required)
|
|
35
|
+
</documentation>
|
|
36
36
|
</prefix>
|
|
37
37
|
<result type="type:Text">
|
|
38
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Sorted short names. (required)
|
|
40
|
+
</documentation>
|
|
39
41
|
</result>
|
|
40
42
|
</properties>
|
|
41
|
-
|
|
42
|
-
</block>
|
|
43
|
+
</xsdcap:VocabularyElements>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Config — DefaultXsdOptions
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.config.DefaultXsdOptions-->
|
|
3
|
+
<xsdconfig:DefaultXsdOptions xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -20,14 +14,22 @@
|
|
|
20
14
|
xmlns:xsddocumentation="org.blockml.bml.target.xsd.documentation"
|
|
21
15
|
xmlns:type="org.blockml.bml.type">
|
|
22
16
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<is>
|
|
27
|
-
|
|
17
|
+
<baseType>
|
|
18
|
+
xsd:XsdType
|
|
19
|
+
</baseType>
|
|
20
|
+
<is>
|
|
21
|
+
Defaults applied by ResolveOptions
|
|
22
|
+
</is>
|
|
28
23
|
<properties>
|
|
29
|
-
<includeNonExported type="type:Boolean"
|
|
30
|
-
|
|
24
|
+
<includeNonExported type="type:Boolean">
|
|
25
|
+
<documentation>
|
|
26
|
+
true
|
|
27
|
+
</documentation>
|
|
28
|
+
</includeNonExported>
|
|
29
|
+
<emitDomainSchemas type="type:Boolean">
|
|
30
|
+
<documentation>
|
|
31
|
+
true
|
|
32
|
+
</documentation>
|
|
33
|
+
</emitDomainSchemas>
|
|
31
34
|
</properties>
|
|
32
|
-
|
|
33
|
-
</block>
|
|
35
|
+
</xsdconfig:DefaultXsdOptions>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Config — XsdConstants
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.config.XsdConstants-->
|
|
3
|
+
<xsdconfig:XsdConstants xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -20,23 +14,65 @@
|
|
|
20
14
|
xmlns:xsddocumentation="org.blockml.bml.target.xsd.documentation"
|
|
21
15
|
xmlns:type="org.blockml.bml.type">
|
|
22
16
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<is>
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
<baseType>
|
|
18
|
+
xsd:XsdType
|
|
19
|
+
</baseType>
|
|
20
|
+
<is>
|
|
21
|
+
Well-known namespace URIs, FQN prefixes, and D1 particle lists
|
|
22
|
+
</is>
|
|
23
|
+
<documentation>
|
|
24
|
+
XSD4–XSD9 constants. D1 identity and container element name lists are normative for V1 bml.xsd emit.
|
|
25
|
+
</documentation>
|
|
29
26
|
<properties>
|
|
30
|
-
<BML_DOCUMENT_NS type="type:Text"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
<BML_DOCUMENT_NS type="type:Text">
|
|
28
|
+
<documentation>
|
|
29
|
+
http://blockml.org/bml
|
|
30
|
+
</documentation>
|
|
31
|
+
</BML_DOCUMENT_NS>
|
|
32
|
+
<BML_TYPES_NS type="type:Text">
|
|
33
|
+
<documentation>
|
|
34
|
+
http://blockml.org/schema/types
|
|
35
|
+
</documentation>
|
|
36
|
+
</BML_TYPES_NS>
|
|
37
|
+
<BML_SERVICE_NS type="type:Text">
|
|
38
|
+
<documentation>
|
|
39
|
+
http://blockml.org/schema/service
|
|
40
|
+
</documentation>
|
|
41
|
+
</BML_SERVICE_NS>
|
|
42
|
+
<TYPE_FQN_PREFIX type="type:Text">
|
|
43
|
+
<documentation>
|
|
44
|
+
org.blockml.bml.type.
|
|
45
|
+
</documentation>
|
|
46
|
+
</TYPE_FQN_PREFIX>
|
|
47
|
+
<SERVICE_FQN_PREFIX type="type:Text">
|
|
48
|
+
<documentation>
|
|
49
|
+
org.blockml.bml.service.
|
|
50
|
+
</documentation>
|
|
51
|
+
</SERVICE_FQN_PREFIX>
|
|
52
|
+
<D1_IDENTITY_ELEMENTS type="type:Text">
|
|
53
|
+
<documentation>
|
|
54
|
+
Hardcoded identity particle names including both isNot and isnot.
|
|
55
|
+
</documentation>
|
|
56
|
+
</D1_IDENTITY_ELEMENTS>
|
|
57
|
+
<D1_CONTAINER_ELEMENTS type="type:Text">
|
|
58
|
+
<documentation>
|
|
59
|
+
Hardcoded container particle names.
|
|
60
|
+
</documentation>
|
|
61
|
+
</D1_CONTAINER_ELEMENTS>
|
|
62
|
+
<META_DEFINITION_FQNS type="type:Text">
|
|
63
|
+
<documentation>
|
|
64
|
+
Definition FQNs walked for extra element names.
|
|
65
|
+
</documentation>
|
|
66
|
+
</META_DEFINITION_FQNS>
|
|
67
|
+
<REGISTRY_NAME type="type:Text">
|
|
68
|
+
<documentation>
|
|
69
|
+
xsd
|
|
70
|
+
</documentation>
|
|
71
|
+
</REGISTRY_NAME>
|
|
72
|
+
<ACCEPTS type="type:Text">
|
|
73
|
+
<documentation>
|
|
74
|
+
library, corpus, auto
|
|
75
|
+
</documentation>
|
|
76
|
+
</ACCEPTS>
|
|
40
77
|
</properties>
|
|
41
|
-
|
|
42
|
-
</block>
|
|
78
|
+
</xsdconfig:XsdConstants>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Documentation — ArchitectureOverview
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.ArchitectureOverview-->
|
|
3
|
+
<xsddocumentation:ArchitectureOverview xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,24 +16,26 @@
|
|
|
22
16
|
xmlns:type="org.blockml.bml.type"
|
|
23
17
|
xmlns:doc="org.blockml.bml.documentation">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Documentation
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Modules and data flow
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
Public entry: XsdTarget.render → ResolveOptions then emit helpers.
|
|
31
27
|
Modules map 1:1 to capabilities:
|
|
32
28
|
options.ts → ResolveOptions; constants.ts → XsdConstants;
|
|
33
29
|
emit-block-xsd.ts → EmitBlockXsd / MemberPrefersElement / ExtraElementNames;
|
|
34
30
|
emit-types-xsd.ts / emit-service-xsd.ts → EmitTypesXsd / EmitServiceXsd / VocabularyElements;
|
|
35
31
|
emit-catalog-xml.ts → EmitCatalogXml / CatalogRelativePath;
|
|
36
32
|
xsd-target.ts → Render.
|
|
37
|
-
|
|
33
|
+
|
|
38
34
|
Accepts library|corpus|auto (XSD2). Always emits bml.xsd (XSD1/XSD3). Domain schemas
|
|
39
|
-
gated by emitDomainSchemas (XSD15). Catalog always in rootFiles (XSD14)
|
|
35
|
+
gated by emitDomainSchemas (XSD15). Catalog always in rootFiles (XSD14).
|
|
36
|
+
</documentation>
|
|
40
37
|
<references>
|
|
41
38
|
<see type="xsddocumentation:V1Scope" relation="ReadNext" />
|
|
42
39
|
<see type="xsdcap:Render" relation="SeeAlso" />
|
|
43
40
|
</references>
|
|
44
|
-
|
|
45
|
-
</block>
|
|
41
|
+
</xsddocumentation:ArchitectureOverview>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Documentation — CatalogAndOutputLayout
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.CatalogAndOutputLayout-->
|
|
3
|
+
<xsddocumentation:CatalogAndOutputLayout xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,24 +16,26 @@
|
|
|
22
16
|
xmlns:type="org.blockml.bml.type"
|
|
23
17
|
xmlns:doc="org.blockml.bml.documentation">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Documentation
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Output files and OASIS catalog (XSD14)
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
files[]: always bml.xsd; if emitDomainSchemas also types.xsd and service.xsd
|
|
31
27
|
(paths relative to session outputBasePath / CLI default schemas/).
|
|
32
28
|
rootFiles[]: always catalog.xml at project root (CLI writes separately).
|
|
33
|
-
|
|
29
|
+
|
|
34
30
|
XSD14: OASIS xmlns urn:oasis:names:tc:entity:xmlns:xml:catalog;
|
|
35
31
|
one uri per CatalogEntry (name=namespaceUri, uri=CatalogRelativePath).
|
|
36
32
|
CatalogRelativePath: normalize slashes, strip trailing, return ./outDir/file.
|
|
37
|
-
|
|
38
|
-
IDE catalog usage is host/docs 15; generation rules live here
|
|
33
|
+
|
|
34
|
+
IDE catalog usage is host/docs 15; generation rules live here.
|
|
35
|
+
</documentation>
|
|
39
36
|
<references>
|
|
40
37
|
<see type="xsddocumentation:Diagnostics" relation="ReadNext" />
|
|
41
38
|
<see type="xsdcap:EmitCatalogXml" relation="SeeAlso" />
|
|
42
39
|
<see type="cli:Library" relation="SeeAlso" />
|
|
43
40
|
</references>
|
|
44
|
-
|
|
45
|
-
</block>
|
|
41
|
+
</xsddocumentation:CatalogAndOutputLayout>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Documentation — DesignDecisions
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.DesignDecisions-->
|
|
3
|
+
<xsddocumentation:DesignDecisions xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,14 +16,15 @@
|
|
|
22
16
|
xmlns:type="org.blockml.bml.type"
|
|
23
17
|
xmlns:doc="org.blockml.bml.documentation">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Documentation
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Normative XSD decisions XSD1–XSD18
|
|
24
|
+
</is>
|
|
30
25
|
<documentation>
|
|
31
26
|
# Normative XSD decisions XSD1–XSD18
|
|
32
|
-
|
|
27
|
+
|
|
33
28
|
- XSD1 Always emit bml.xsd.
|
|
34
29
|
- XSD2 accepts library|corpus|auto; registry name xsd.
|
|
35
30
|
- XSD3 Render uses session typeRegistry and outputBasePath.
|
|
@@ -49,5 +44,4 @@
|
|
|
49
44
|
<references>
|
|
50
45
|
<see type="xsddocumentation:PackageOwnership" relation="ReadNext" />
|
|
51
46
|
</references>
|
|
52
|
-
|
|
53
|
-
</block>
|
|
47
|
+
</xsddocumentation:DesignDecisions>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-->
|
|
5
|
-
<block
|
|
6
|
-
xmlns="http://blockml.org/bml"
|
|
7
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
8
|
-
xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
|
|
9
|
-
"
|
|
1
|
+
<!--XSD Documentation — Diagnostics
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.Diagnostics-->
|
|
3
|
+
<xsddocumentation:Diagnostics xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,23 +16,23 @@
|
|
|
22
16
|
xmlns:type="org.blockml.bml.type"
|
|
23
17
|
xmlns:doc="org.blockml.bml.documentation">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Documentation
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Emit path has no package-local diagnostics
|
|
24
|
+
</is>
|
|
30
25
|
<documentation>
|
|
31
26
|
# Emit path has no package-local diagnostics
|
|
32
|
-
|
|
27
|
+
|
|
33
28
|
V1 XSD target emits without package diagnostics codes. Failures surface as host/CLI
|
|
34
29
|
or empty/malformed output only if upstream session is broken.
|
|
35
|
-
|
|
30
|
+
|
|
36
31
|
Generated schema is non-authoritative; CLI validate does not invoke this target.
|
|
37
|
-
|
|
32
|
+
|
|
38
33
|
Scope mismatch for accepts is compiler/CLI (BML_TARGET_SCOPE_MISMATCH).
|
|
39
34
|
</documentation>
|
|
40
35
|
<references>
|
|
41
36
|
<see type="xsddocumentation:DesignDecisions" relation="ReadNext" />
|
|
42
37
|
</references>
|
|
43
|
-
|
|
44
|
-
</block>
|
|
38
|
+
</xsddocumentation:Diagnostics>
|