[EXI LC comment] datatype representation map for a specific element

Hello EXI WG,

According to the specification, if I use a user-defined datatype
representation, I have to specify a datatype representation map. How do
I use my original encoding only for the specific element or attribute?

For example, I want to use my original float encoding only for b
elements.

<a>
  <b>1.2</b>  <!-- xsd:float -->
  <c>3.4</c>  <!-- xsd:float -->
</a>

If I define a datatype representation map as follows, c element will
aslo be encoded with myfloat encoding.

<datatypeRepresentationMap xmlns:myenc="http://example.org/myenc">
  <xsd:float/>
  <myenc:myfloat/>
</datatypeRepresentationMap/>

--
Wataru Shimizu
<shimizu.wataru@canon.co.jp>

Received on Friday, 7 November 2008 08:24:52 UTC