@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.
Files changed (31) hide show
  1. package/blocks/org/blockml/bml/target/xsd/Library.bml +19 -26
  2. package/blocks/org/blockml/bml/target/xsd/README.bml +14 -21
  3. package/blocks/org/blockml/bml/target/xsd/XsdType.bml +16 -18
  4. package/blocks/org/blockml/bml/target/xsd/api/CatalogEntry.bml +20 -18
  5. package/blocks/org/blockml/bml/target/xsd/api/XsdOptions.bml +23 -19
  6. package/blocks/org/blockml/bml/target/xsd/api/XsdRenderOutput.bml +23 -19
  7. package/blocks/org/blockml/bml/target/xsd/capability/CatalogRelativePath.bml +22 -21
  8. package/blocks/org/blockml/bml/target/xsd/capability/EmitBlockXsd.bml +19 -21
  9. package/blocks/org/blockml/bml/target/xsd/capability/EmitCatalogXml.bml +19 -21
  10. package/blocks/org/blockml/bml/target/xsd/capability/EmitServiceXsd.bml +19 -21
  11. package/blocks/org/blockml/bml/target/xsd/capability/EmitTypesXsd.bml +19 -21
  12. package/blocks/org/blockml/bml/target/xsd/capability/ExtraElementNames.bml +19 -21
  13. package/blocks/org/blockml/bml/target/xsd/capability/MemberPrefersElement.bml +19 -21
  14. package/blocks/org/blockml/bml/target/xsd/capability/Render.bml +22 -22
  15. package/blocks/org/blockml/bml/target/xsd/capability/ResolveOptions.bml +19 -21
  16. package/blocks/org/blockml/bml/target/xsd/capability/VocabularyElements.bml +22 -21
  17. package/blocks/org/blockml/bml/target/xsd/config/DefaultXsdOptions.bml +20 -18
  18. package/blocks/org/blockml/bml/target/xsd/config/XsdConstants.bml +63 -27
  19. package/blocks/org/blockml/bml/target/xsd/documentation/ArchitectureOverview.bml +15 -19
  20. package/blocks/org/blockml/bml/target/xsd/documentation/CatalogAndOutputLayout.bml +16 -20
  21. package/blocks/org/blockml/bml/target/xsd/documentation/DesignDecisions.bml +11 -17
  22. package/blocks/org/blockml/bml/target/xsd/documentation/Diagnostics.bml +13 -19
  23. package/blocks/org/blockml/bml/target/xsd/documentation/DomainVocabularyRules.bml +14 -20
  24. package/blocks/org/blockml/bml/target/xsd/documentation/Introduction.bml +17 -21
  25. package/blocks/org/blockml/bml/target/xsd/documentation/LayerSeparation.bml +15 -19
  26. package/blocks/org/blockml/bml/target/xsd/documentation/PackageOwnership.bml +15 -19
  27. package/blocks/org/blockml/bml/target/xsd/documentation/ParticleMappingRules.bml +16 -20
  28. package/blocks/org/blockml/bml/target/xsd/documentation/PublicApi.bml +15 -19
  29. package/blocks/org/blockml/bml/target/xsd/documentation/ScopeExclusions.bml +14 -18
  30. package/blocks/org/blockml/bml/target/xsd/documentation/V1Scope.bml +15 -19
  31. package/package.json +5 -5
@@ -1,12 +1,6 @@
1
- <!--
2
- XSD Capability — ExtraElementNames
3
- FQN: org.blockml.bml.target.xsd.capability.ExtraElementNames
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
- <name>ExtraElementNames</name>
24
- <type>xsdcap:ExtraElementNames</type>
25
- <baseType>core:Capability</baseType>
26
- <is>Collect extra particle names from meta Definition blocks</is>
27
-
28
- <documentation>XSD9/XSD11: walk META_DEFINITION_FQNS if present; recurse members and subBlocks; keep names where MemberPrefersElement; unique sort; exclude D1 identity and container names.</documentation>
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>TypeRegistry. (required)</documentation>
31
+ <documentation>
32
+ TypeRegistry. (required)
33
+ </documentation>
37
34
  </typeRegistry>
38
35
  <result type="type:Text">
39
- <documentation>Sorted unique element names. (required)</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
- XSD Capability — MemberPrefersElement
3
- FQN: org.blockml.bml.target.xsd.capability.MemberPrefersElement
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
- <name>MemberPrefersElement</name>
24
- <type>xsdcap:MemberPrefersElement</type>
25
- <baseType>core:Capability</baseType>
26
- <is>Decide whether a member becomes an element particle</is>
27
-
28
- <documentation>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.</documentation>
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>MemberDefinition. (required)</documentation>
31
+ <documentation>
32
+ MemberDefinition. (required)
33
+ </documentation>
37
34
  </member>
38
35
  <result type="type:Boolean">
39
- <documentation>true if emit as xs:element particle. (required)</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
- XSD Capability — Render
3
- FQN: org.blockml.bml.target.xsd.capability.Render
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
- <name>Render</name>
24
- <type>xsdcap:Render</type>
25
- <baseType>core:Capability</baseType>
26
- <is>Public RenderTarget entry: TypeRegistry to XSD files and catalog</is>
27
-
28
- <documentation>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.</documentation>
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>CompileRequest with targetOptions. (required)</documentation>
32
+ <documentation>
33
+ CompileRequest with targetOptions. (required)
34
+ </documentation>
38
35
  </request>
39
36
  <renderContext type="type:Text">
40
- <documentation>RenderContext. (required)</documentation>
37
+ <documentation>
38
+ RenderContext. (required)
39
+ </documentation>
41
40
  </renderContext>
42
41
  <result type="xsdapi:XsdRenderOutput">
43
- <documentation>files and rootFiles. (required)</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
- XSD Capability — ResolveOptions
3
- FQN: org.blockml.bml.target.xsd.capability.ResolveOptions
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
- <name>ResolveOptions</name>
24
- <type>xsdcap:ResolveOptions</type>
25
- <baseType>core:Capability</baseType>
26
- <is>Merge opaque targetOptions into required XsdOptions</is>
27
-
28
- <documentation>XSD15/XSD16: defaults includeNonExported=true, emitDomainSchemas=true. includeNonExported has no V1 emit effect.</documentation>
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>Opaque CompileRequest.targetOptions. (optional)</documentation>
32
+ <documentation>
33
+ Opaque CompileRequest.targetOptions. (optional)
34
+ </documentation>
38
35
  </targetOptions>
39
36
  <result type="xsdapi:XsdOptions">
40
- <documentation>Fully resolved options. (required)</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
- XSD Capability — VocabularyElements
3
- FQN: org.blockml.bml.target.xsd.capability.VocabularyElements
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
- <name>VocabularyElements</name>
24
- <type>xsdcap:VocabularyElements</type>
25
- <baseType>core:Capability</baseType>
26
- <is>List sorted short names under an FQN prefix</is>
27
-
28
- <documentation>Shared helper for types/service emit: filter registry.keys by prefix; take last segment after dot; sort.</documentation>
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>TypeRegistry. (required)</documentation>
28
+ <documentation>
29
+ TypeRegistry. (required)
30
+ </documentation>
33
31
  </typeRegistry>
34
32
  <prefix type="type:Text">
35
- <documentation>FQN prefix. (required)</documentation>
33
+ <documentation>
34
+ FQN prefix. (required)
35
+ </documentation>
36
36
  </prefix>
37
37
  <result type="type:Text">
38
- <documentation>Sorted short names. (required)</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
- XSD Config — DefaultXsdOptions
3
- FQN: org.blockml.bml.target.xsd.config.DefaultXsdOptions
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
- <name>DefaultXsdOptions</name>
24
- <type>xsdconfig:DefaultXsdOptions</type>
25
- <baseType>xsd:XsdType</baseType>
26
- <is>Defaults applied by ResolveOptions</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"><documentation>true</documentation></includeNonExported>
30
- <emitDomainSchemas type="type:Boolean"><documentation>true</documentation></emitDomainSchemas>
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
- XSD Config — XsdConstants
3
- FQN: org.blockml.bml.target.xsd.config.XsdConstants
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
- <name>XsdConstants</name>
24
- <type>xsdconfig:XsdConstants</type>
25
- <baseType>xsd:XsdType</baseType>
26
- <is>Well-known namespace URIs, FQN prefixes, and D1 particle lists</is>
27
-
28
- <documentation>XSD4–XSD9 constants. D1 identity and container element name lists are normative for V1 bml.xsd emit.</documentation>
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"><documentation>http://blockml.org/bml</documentation></BML_DOCUMENT_NS>
31
- <BML_TYPES_NS type="type:Text"><documentation>http://blockml.org/schema/types</documentation></BML_TYPES_NS>
32
- <BML_SERVICE_NS type="type:Text"><documentation>http://blockml.org/schema/service</documentation></BML_SERVICE_NS>
33
- <TYPE_FQN_PREFIX type="type:Text"><documentation>org.blockml.bml.type.</documentation></TYPE_FQN_PREFIX>
34
- <SERVICE_FQN_PREFIX type="type:Text"><documentation>org.blockml.bml.service.</documentation></SERVICE_FQN_PREFIX>
35
- <D1_IDENTITY_ELEMENTS type="type:Text"><documentation>Hardcoded identity particle names including both isNot and isnot.</documentation></D1_IDENTITY_ELEMENTS>
36
- <D1_CONTAINER_ELEMENTS type="type:Text"><documentation>Hardcoded container particle names.</documentation></D1_CONTAINER_ELEMENTS>
37
- <META_DEFINITION_FQNS type="type:Text"><documentation>Definition FQNs walked for extra element names.</documentation></META_DEFINITION_FQNS>
38
- <REGISTRY_NAME type="type:Text"><documentation>xsd</documentation></REGISTRY_NAME>
39
- <ACCEPTS type="type:Text"><documentation>library, corpus, auto</documentation></ACCEPTS>
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
- XSD Documentation — ArchitectureOverview
3
- FQN: org.blockml.bml.target.xsd.documentation.ArchitectureOverview
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
- <name>ArchitectureOverview</name>
26
- <type>xsddocumentation:ArchitectureOverview</type>
27
- <baseType>core:Documentation</baseType>
28
- <is>Modules and data flow</is>
29
-
30
- <documentation>Public entry: XsdTarget.render → ResolveOptions then emit helpers.
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).</documentation>
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
- XSD Documentation — CatalogAndOutputLayout
3
- FQN: org.blockml.bml.target.xsd.documentation.CatalogAndOutputLayout
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
- <name>CatalogAndOutputLayout</name>
26
- <type>xsddocumentation:CatalogAndOutputLayout</type>
27
- <baseType>core:Documentation</baseType>
28
- <is>Output files and OASIS catalog (XSD14)</is>
29
-
30
- <documentation>files[]: always bml.xsd; if emitDomainSchemas also types.xsd and service.xsd
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.</documentation>
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
- XSD Documentation — DesignDecisions
3
- FQN: org.blockml.bml.target.xsd.documentation.DesignDecisions
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
- <name>DesignDecisions</name>
26
- <type>xsddocumentation:DesignDecisions</type>
27
- <baseType>core:Documentation</baseType>
28
- <is>Normative XSD decisions XSD1–XSD18</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
- XSD Documentation — Diagnostics
3
- FQN: org.blockml.bml.target.xsd.documentation.Diagnostics
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
- <name>Diagnostics</name>
26
- <type>xsddocumentation:Diagnostics</type>
27
- <baseType>core:Documentation</baseType>
28
- <is>Emit path has no package-local diagnostics</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>