@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 Documentation — DomainVocabularyRules
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.DomainVocabularyRules-->
|
|
3
|
+
<xsddocumentation:DomainVocabularyRules 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,21 +16,22 @@
|
|
|
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
|
+
types.xsd and service.xsd vocabularies (XSD12–XSD13)
|
|
24
|
+
</is>
|
|
30
25
|
<documentation>
|
|
31
26
|
# types.xsd and service.xsd vocabularies (XSD12–XSD13)
|
|
32
|
-
|
|
27
|
+
|
|
33
28
|
XSD12: EmitTypesXsd — VocabularyElements under TYPE_FQN_PREFIX as xs:element type=xs:string
|
|
34
29
|
in BML_TYPES_NS (http://blockml.org/schema/types).
|
|
35
|
-
|
|
30
|
+
|
|
36
31
|
XSD13: EmitServiceXsd — same for SERVICE_FQN_PREFIX under BML_SERVICE_NS.
|
|
37
|
-
|
|
32
|
+
|
|
38
33
|
Short name = last FQN segment after dot; sorted.
|
|
39
|
-
|
|
34
|
+
|
|
40
35
|
Gated by emitDomainSchemas (XSD15). Not MachineBlocks domain schemas.
|
|
41
36
|
</documentation>
|
|
42
37
|
<references>
|
|
@@ -44,5 +39,4 @@
|
|
|
44
39
|
<see type="xsdcap:EmitTypesXsd" relation="SeeAlso" />
|
|
45
40
|
<see type="xsdcap:EmitServiceXsd" relation="SeeAlso" />
|
|
46
41
|
</references>
|
|
47
|
-
|
|
48
|
-
</block>
|
|
42
|
+
</xsddocumentation:DomainVocabularyRules>
|
|
@@ -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 — Introduction
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.Introduction-->
|
|
3
|
+
<xsddocumentation:Introduction 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,30 +16,32 @@
|
|
|
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
|
+
Purpose and scope of the XSD render target
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
The @blockml/xsd-target package implements RenderTarget registry name xsd.
|
|
31
27
|
It emits universal bml.xsd from D1 defaults plus meta Definition extras, optional
|
|
32
28
|
types.xsd and service.xsd vocabularies, and a root catalog.xml.
|
|
33
|
-
|
|
29
|
+
|
|
34
30
|
This library (org.blockml.bml.target.xsd.*) is the SSOT. TypeScript in
|
|
35
31
|
packages/xsd-target/src/ implements it. Tests in packages/xsd-target/test/
|
|
36
32
|
encode behavioral contracts (XSD1–XSD18).
|
|
37
|
-
|
|
33
|
+
|
|
38
34
|
Generate vs Validation: this library models schema GENERATE only. Generated schemas
|
|
39
35
|
are non-authoritative: they MUST NOT encode rules that parse + validate do not
|
|
40
36
|
themselves enforce. Authoring validity is parse + @blockml/validator (CLI validate /
|
|
41
37
|
LSP). compile xsd remains the generate path.
|
|
42
|
-
|
|
38
|
+
|
|
43
39
|
Pipeline: ResolveOptions → EmitBlockXsd [+ EmitTypesXsd / EmitServiceXsd] →
|
|
44
40
|
EmitCatalogXml → files under outDir plus rootFiles catalog.xml.
|
|
45
|
-
Host CLI wiring (default outDir schemas/, write) lives in org.blockml.bml.cli
|
|
41
|
+
Host CLI wiring (default outDir schemas/, write) lives in org.blockml.bml.cli.*
|
|
42
|
+
</documentation>
|
|
46
43
|
<references>
|
|
47
44
|
<see type="xsddocumentation:LayerSeparation" relation="ReadNext" />
|
|
48
45
|
<see type="xsdcap:Render" relation="SeeAlso" />
|
|
49
46
|
</references>
|
|
50
|
-
|
|
51
|
-
</block>
|
|
47
|
+
</xsddocumentation:Introduction>
|
|
@@ -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 — LayerSeparation
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.LayerSeparation-->
|
|
3
|
+
<xsddocumentation:LayerSeparation 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,21 +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
|
-
|
|
30
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Documentation
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
What this library owns versus neighbors
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
Layers:
|
|
31
27
|
• org.blockml.bml.definition / docs 19 D1 — bml:xml particle grammar SSOT (XSD consumes)
|
|
32
28
|
• org.blockml.bml.target.xsd.* (this library) — emit bml.xsd / types.xsd / service.xsd / catalog
|
|
33
29
|
• org.blockml.bml.cli.* — default outDir=schemas, rootFiles write; validate is parse + validator
|
|
34
30
|
• MachineBlocks domain XSDs — out of scope (product schemas)
|
|
35
|
-
|
|
36
|
-
Do not double-maintain CLI flags or D1 grammar here; link via SeeAlso
|
|
31
|
+
|
|
32
|
+
Do not double-maintain CLI flags or D1 grammar here; link via SeeAlso.
|
|
33
|
+
</documentation>
|
|
37
34
|
<references>
|
|
38
35
|
<see type="xsddocumentation:ArchitectureOverview" relation="ReadNext" />
|
|
39
36
|
<see type="cli:Library" relation="SeeAlso" />
|
|
40
37
|
</references>
|
|
41
|
-
|
|
42
|
-
</block>
|
|
38
|
+
</xsddocumentation:LayerSeparation>
|
|
@@ -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 — PackageOwnership
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.PackageOwnership-->
|
|
3
|
+
<xsddocumentation:PackageOwnership 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,22 +16,24 @@
|
|
|
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
|
+
What belongs in @blockml/xsd-target vs neighbors
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
Owns: registry name xsd, accepts, Options, emit of bml.xsd/types.xsd/service.xsd/catalog.xml,
|
|
31
27
|
D1 hardcoded lists + registry extras, MemberPrefersElement, NS/FQN constants.
|
|
32
|
-
|
|
28
|
+
|
|
33
29
|
Does not own: CLI default outDir=schemas, rootFiles write, exit codes (cli);
|
|
34
30
|
D1/bml:xml grammar SSOT (Definition / docs 19);
|
|
35
31
|
authoring validity (parser + validator; CLI validate);
|
|
36
32
|
MachineBlocks domain XSDs.
|
|
37
|
-
Phase C IDE catalog narrative pointers in docs 15 stay host docs; generation here
|
|
33
|
+
Phase C IDE catalog narrative pointers in docs 15 stay host docs; generation here.
|
|
34
|
+
</documentation>
|
|
38
35
|
<references>
|
|
39
36
|
<see type="xsddocumentation:ScopeExclusions" relation="ReadNext" />
|
|
40
37
|
<see type="cli:Library" relation="SeeAlso" />
|
|
41
38
|
</references>
|
|
42
|
-
|
|
43
|
-
</block>
|
|
39
|
+
</xsddocumentation:PackageOwnership>
|
|
@@ -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 — ParticleMappingRules
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.ParticleMappingRules-->
|
|
3
|
+
<xsddocumentation:ParticleMappingRules 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,13 +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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Documentation
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
bml.xsd particle construction (XSD4–XSD11)
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
Consumes D1 / bml:xml grammar from Definition (docs 19); does not redefine it.
|
|
27
|
+
|
|
32
28
|
XSD4: targetNamespace http://blockml.org/bml; single root element block; mixed=true.
|
|
33
29
|
XSD5: choice of unbounded optional xs:element particles only.
|
|
34
30
|
XSD6: no element-level xs:any.
|
|
@@ -38,12 +34,12 @@
|
|
|
38
34
|
XSD10: MemberPrefersElement — element/raw element true; sole attribute false;
|
|
39
35
|
aggregations/associations true; default true.
|
|
40
36
|
XSD11: extras exclude names already in D1 identity or containers.
|
|
41
|
-
|
|
42
|
-
Later: full D1 fidelity (attributes, text, nested models); pure Definition-driven lists
|
|
37
|
+
|
|
38
|
+
Later: full D1 fidelity (attributes, text, nested models); pure Definition-driven lists.
|
|
39
|
+
</documentation>
|
|
43
40
|
<references>
|
|
44
41
|
<see type="xsddocumentation:DomainVocabularyRules" relation="ReadNext" />
|
|
45
42
|
<see type="xsdcap:EmitBlockXsd" relation="SeeAlso" />
|
|
46
43
|
<see type="def:BlockDefinition" relation="SeeAlso" />
|
|
47
44
|
</references>
|
|
48
|
-
|
|
49
|
-
</block>
|
|
45
|
+
</xsddocumentation:ParticleMappingRules>
|
|
@@ -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 — PublicApi
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.PublicApi-->
|
|
3
|
+
<xsddocumentation:PublicApi 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
|
+
Public TypeScript surface mirrored in this library
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
Exports (packages/xsd-target/src/index.ts):
|
|
31
27
|
XsdTarget, XsdRenderOutput; XsdOptions, resolveXsdOptions, DEFAULT_XSD_OPTIONS;
|
|
32
28
|
emitBlockXsd, emitTypesXsd, emitServiceXsd; emitCatalogXml, catalogRelativePath, CatalogEntry;
|
|
33
29
|
BML_DOCUMENT_NS, BML_TYPES_NS, BML_SERVICE_NS, TYPE_FQN_PREFIX, SERVICE_FQN_PREFIX.
|
|
34
|
-
|
|
30
|
+
|
|
35
31
|
Modeled as: api/XsdOptions, XsdRenderOutput, CatalogEntry; config/XsdConstants,
|
|
36
32
|
DefaultXsdOptions; capabilities listed on Library.blocks.
|
|
37
|
-
Defines relation: this doc ↔ Options and Render
|
|
33
|
+
Defines relation: this doc ↔ Options and Render.
|
|
34
|
+
</documentation>
|
|
38
35
|
<references>
|
|
39
36
|
<see type="xsddocumentation:ParticleMappingRules" relation="ReadNext" />
|
|
40
37
|
<see type="xsdapi:XsdOptions" relation="SeeAlso" />
|
|
41
38
|
<see type="xsdcap:Render" relation="SeeAlso" />
|
|
42
39
|
<see type="xsdconfig:DefaultXsdOptions" relation="SeeAlso" />
|
|
43
40
|
</references>
|
|
44
|
-
|
|
45
|
-
</block>
|
|
41
|
+
</xsddocumentation:PublicApi>
|
|
@@ -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 — ScopeExclusions
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.ScopeExclusions-->
|
|
3
|
+
<xsddocumentation:ScopeExclusions 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,12 +16,14 @@
|
|
|
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
|
+
Explicitly out of XSD V1 library scope
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
Out of scope for this library / V1:
|
|
31
27
|
• Authoring validation against generated XSD (parse + validator own validity)
|
|
32
28
|
• Full D1 particle fidelity (attributes, text, nested content models)
|
|
33
29
|
• Pure Definition-driven particle lists without hardcoded D1 arrays
|
|
@@ -36,6 +32,6 @@
|
|
|
36
32
|
• Package-local emit diagnostics
|
|
37
33
|
• CLI flag parsing and file I/O
|
|
38
34
|
• Codegen from BML to TypeScript (structural SSOT only)
|
|
39
|
-
• BlockDoc / FatBlock / SCAD targets
|
|
40
|
-
|
|
41
|
-
</
|
|
35
|
+
• BlockDoc / FatBlock / SCAD targets
|
|
36
|
+
</documentation>
|
|
37
|
+
</xsddocumentation:ScopeExclusions>
|
|
@@ -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 — V1Scope
|
|
2
|
+
FQN: org.blockml.bml.target.xsd.documentation.V1Scope-->
|
|
3
|
+
<xsddocumentation:V1Scope 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,12 +16,14 @@
|
|
|
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
|
+
What V1 delivers
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
V1 includes:
|
|
31
27
|
• Registry name xsd; accepts library, corpus, auto
|
|
32
28
|
• Always bml.xsd: D1 identity + container lists + registry extras; no element xs:any;
|
|
33
29
|
anyAttribute processContents=lax; mixed=true root block
|
|
@@ -36,11 +32,11 @@
|
|
|
36
32
|
• Always OASIS catalog.xml via rootFiles
|
|
37
33
|
• No package-local emit diagnostics
|
|
38
34
|
• includeNonExported reserved unused
|
|
39
|
-
|
|
35
|
+
|
|
40
36
|
V1 does NOT include authoring XSD validation, MachineBlocks domain schemas,
|
|
41
|
-
or full attribute/text/nested particle models from Definition
|
|
37
|
+
or full attribute/text/nested particle models from Definition.
|
|
38
|
+
</documentation>
|
|
42
39
|
<references>
|
|
43
40
|
<see type="xsddocumentation:PublicApi" relation="ReadNext" />
|
|
44
41
|
</references>
|
|
45
|
-
|
|
46
|
-
</block>
|
|
42
|
+
</xsddocumentation:V1Scope>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockml/xsd-target",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "BlockML XSD render target — XML Schema generation",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"test": "vitest run packages/xsd-target/test"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@blockml/bom": "^0.9.
|
|
36
|
-
"@blockml/compiler": "^0.9.
|
|
37
|
-
"@blockml/core": "^1.
|
|
38
|
-
"@blockml/framework": "^0.9.
|
|
35
|
+
"@blockml/bom": "^0.9.6",
|
|
36
|
+
"@blockml/compiler": "^0.9.6",
|
|
37
|
+
"@blockml/core": "^1.3.0",
|
|
38
|
+
"@blockml/framework": "^0.9.6"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=20"
|