zio.blocks.schema.xml.ReaderConfig
See theReaderConfig companion object
final case class ReaderConfig(maxDepth: Int = ..., maxAttributes: Int = ..., maxTextLength: Int = ..., preserveWhitespace: Boolean = ...)
Configuration for XML reader behavior and limits.
Value parameters
- maxAttributes
-
Maximum number of attributes per element
- maxDepth
-
Maximum nesting depth for XML elements (prevents stack overflow attacks)
- maxTextLength
-
Maximum length of text content
- preserveWhitespace
-
If true, preserve all whitespace in text nodes; if false, trim leading/trailing whitespace
Attributes
- Companion
- object
- Source
- ReaderConfig.scala
- Graph
-
- Supertypes
Members list
In this article