[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] unicode characters within XML documents
- From: "Liam R. E. Quin" <liam@fromoldbooks.org>
- To: XML Developers List <xml-dev@lists.xml.org>
- Date: Sun, 16 Jan 2022 03:40:27 -0500
On Sun, 2022-01-16 at 12:33 +0530, Mukul Gandhi wrote:
> Hi all,
> I came across, following XML instance document, provided with w3c
> xml
> schema test suite,
> [...]
>
> Within the above mentioned, XML document, the text content of
> attribute
> "value" are arabic characters (specified with their unicode code
> points). I
> guess, specifying unicode characters with notation &#x.... (as with
> the
> example cited above), is a preferred way to mention and transport the
> related XML documents across software application systems.
It probably made the test suite easier to manage at the time.
>
> My questions please,
> What would, end user applications do with such XML documents?
The same as with any other XML documents.
Note that if an attribute uses a different script from the contents of
the element, and that also differs from the script of the container,
there's no way to mark that in XML in a standard interoperable way. So
there can sometimes be rendering problems, because script and language
information is needed in some cases to get rendering right.
But there's nothing special about the contents of that attribute that i
see at first glance.
--
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]