|
Dear list,
Has anyone made an XML-to-object binding that defines xml:space
attribute (that defines how whitespaces are handled) to be used in XML
documents? I tried the following two ways to include this attribute in
schema:
<object name="text" smalltalkClass="MyText">
<attribute name="xml:space" aspect="xmlSpace" ref="xsd:string" />
</object>
or
<object name="text" smalltalkClass="MyText">
<attribute aspect="xmlSpace" ref="xml:space " />
</object>
Both of these failed when loading the binding because the qualifier
"xml" was not found among defined namespaces. Furthermore, defining such
namespace by oneself is - obviously - not allowed either.
So, any ideas how to include this attribute?
With best regards,
Risto Pohjonen
MetaCase
|