Skip to content

Specification notes #5

@Evolution0

Description

@Evolution0

The XML part of the spec could use a note that you cannot batch add Item nodes to the XML as intuitive as it feels to do so (why can't we?), each must be in its own <add> tag

For example (from the spec, good):

<xml path="dlclist.xml">
	<add append="First" xpath="/SMandatoryPacksData/Paths">
		<Item>dlcpacks:\spFirstTestMod\</Item>
	</add>
	
	<add append="Last" xpath="/SMandatoryPacksData/Paths">
		<Item>dlcpacks:\spLastTestMod\</Item>
	</add>
	
	<add append="Before" xpath="/SMandatoryPacksData/Paths/Item[.='dlcpacks:/mpheist/']">
		<Item>dlcpacks:\spBeforeHeistTest\</Item>
	</add>
	
	<add append="After" xpath="/SMandatoryPacksData/Paths/Item[.='dlcpacks:/patchday21ng/']">
		<Item>dlcpacks:\spAfter21ngTest\</Item>
	</add>
</xml>

Bad:

<xml path="dlclist.xml">
	<add append="Last" xpath="/SMandatoryPacksData/Paths">
		<Item>dlcpacks:\spFirstTestMod\</Item>
                <Item>dlcpacks:\spSecondTestMod\</Item>
		<Item>dlcpacks:\spThirdTestMod\</Item>
                <Item>dlcpacks:\spFourthTestMod\</Item>
	</add>
</xml>

This was a disappointing discovery, it really inflates the line count of the assembly file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions