- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Wed, 22 Dec 2010 18:13:59 +0100
- To: XProc Dev <xproc-dev@w3.org>
Hi, In the implementation of p:error, an XProcException is thrown. If there is an input doc on the port source, its trings value is used as the exception message: throw new XProcException(errorCode, doc.getStringValue()); Is there any reason why not to get the serialized representation of this XML document, instead of its string value? For instance like: throw new XProcException(errorCode, doc.toString()); That results in more readable logs in case we define an error vocabulary for an application. Regards, -- Florent Georges http://fgeorges.org/
Received on Wednesday, 22 December 2010 19:47:50 UTC