Hello DFDL community, I have this input file:
[cid:[email protected]] One way to characterize that data is that it contains rows separated by exactly one newline. Each row contains a label and message separated by a colon. The message is a string padded by zero or more newlines. So, for the message element I would like to use this: <xs:element name="message" type="xs:string" dfdl:lengthKind="pattern" dfdl:lengthPattern="[\x00-\x39\x3B-\xFF]+?(?=%NL;([^%NL;]|$))" dfdl:representation="text" dfdl:encoding="ISO-8859-1" dfdl:textTrimKind="padChar" dfdl:textStringPadCharacter="%NL;" dfdl:textStringJustification="left" /> Sadly, running that yielded this error message: Error: Property dfdl:textStringPadCharacter cannot contain %NL; Bummer! I vote to allow dfdl:textStringPadCharacter to contain %NL; In the meantime, is there a way to implement this characterization? /Roger
