> 2. It should accept a Zorba error code or exception object, a QueryLoc, and any additional error-message parameters as necessary.
Can you explain why it needs an error code that isn't ZXQD0006_INVALID_UTF8_BYTE_SEQUENCE? AFAIK, there isn't an error code defined in the spec for this (which is why I made a Zorba-specific one up).
What QueryLoc should it use? The same stream might be read from several places throughout the code?
> 2. It should accept a Zorba error code or exception object, a QueryLoc, and any additional error-message parameters as necessary.
Can you explain why it needs an error code that isn't ZXQD0006_ INVALID_ UTF8_BYTE_ SEQUENCE? AFAIK, there isn't an error code defined in the spec for this (which is why I made a Zorba-specific one up).
What QueryLoc should it use? The same stream might be read from several places throughout the code?