問題文
A developer writes a DataWeave script whose first two lines declare the language version and the output media type, followed by a line containing three hyphens, followed by the expression that builds the result. What is the role of the line with three hyphens?
選択肢
- It tells the engine to stream the output instead of building it in memory, which is why scripts that omit it can only be used for small documents and fail with a size error once the input grows beyond the configured buffer.
- It marks a comment block that the engine ignores.
- It is optional and only needed when the header declares more than one directive.
- It separates the header, where directives such as the output type and reusable declarations live, from the body that produces the output.