<?xml version="1.0" encoding="UTF-8"?>
<profile xmlns="http://www.verapdf.org/ValidationProfile" model="org.verapdf.model.PDFA1a">
    <name>ISO 19005-1:2005 - 6.1.7 Stream objects - Correct Length</name>
    <description>The value of the Length key specified in the stream dictionary shall match the number of bytes in the file
	following the LINE FEED character after the stream keyword and preceding the EOL marker before the endstream keyword</description>
    <creator>veraPDF Consortium</creator>
    <created>2015-05-8T15:46:15Z</created>
    <hash>sha-1 hash code</hash>
    <rules>
		<rule id="6-1-7-t01" object="CosStream">
			<description>The value of the Length key specified in the stream dictionary shall match the number of bytes in the file
			following the LINE FEED character after the stream keyword and preceding the EOL marker before the endstream keyword</description>
			<test>isLengthCorrect</test>
			<error>
				<message>Actual length of the stream does not match the value of the Length key in the Stream dictionary</message>
			</error>
			<reference>
				<specification>ISO19005-1</specification>
				<clause>6.1.7</clause>
			</reference>
		</rule>
	</rules>
</profile>
