Hi Folks,

In my DFDL schema I specify a separator. And I specify the encoding of that 
separator.

Either the input has the separator or it doesn't. That is, either the input 
contains the appropriate bytes (per the encoding) or it doesn't.

If the input has the separator in the wrong encoding, well, then the input 
doesn't have the separator. Right?

It seems to me that encodingPolicy is irrelevant. Consider, 
encodingPolicy=error means to throw an error if the separator has the wrong 
encoding. Huh? It's impossible for there to be a separator in the wrong 
encoding - either there are bytes in the input corresponding to the separator 
or there isn't. Right?

Why is encodingPolicy relevant for separators?

/Roger

Reply via email to