Hi Yair,
it actually depends. Castor XML does not support the XML 1.1
specification at all, and as such none of the extensions to XML 1.0 such
as encodings, etc.
Having said that, Castor allows you to specify the value of the version
property being used during marshalling through the
org.exolab.castor.xml.version
property, but that's a pure textual representation.
/**
* Property that allows to specify the XML document version
* number to be used during marshalling; defaults to 1.0.
*
* Possible values:
* - 1.0 (default)
* - 1.1
*
* <pre>
* org.exolab.castor.xml.version=1.0
* </pre>
*/
public static final String XML_VERSION =
"org.exolab.castor.xml.version";
Kind Regards
Werner
On 22.12.2013 17:28, Yair Rinot wrote:
I've found the following forum entries which reported the same error I
am getting:
*http://osdir.com/ml/java-castor-user/2011-02/msg00011.html*
*https://www.mail-archive.com/[email protected]/msg05816.html*
- What is the status of this task of support XML 1.1 in castor ?
- Does castor have any built-in workaround for this issue ?
Regards,
------------------------------------------------------------------------
*Yair Rinot *
Software Engineer
InfoSphere Governance Tools
Phone: 972-2-6491147
E-mail: [email protected]_ <mailto:[email protected]>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email