W3C

Edit comment LC-2186 for Efficient Extensible Interchange Working Group

Quick access to

Previous: LC-2198 Next: LC-2227

Comment LC-2186
:
Commenter: SHIMIZU Wataru <shimizu.wataru@canon.co.jp>

or
Resolution status:

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/>
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2186.html,v 1.1 2017/08/11 06:44:22 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org