[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
IRIs - Question
- From: "Ramkumar Menon" <ramkumar.menon@gmail.com>
- To: xml-dev@lists.xml.org, xsl-list@lists.mulberrytech.com
- Date: Wed, 23 Apr 2008 12:48:15 -0700
I have a WSDL/XSD file whose targetNamespace is
http://großerJob.german.com. The namespace URI contains characters
from german language, as you can see.
If use a designer tool to view and validate this WSDL/XML, what should
be the behaviour?
a) Give an error stating that the targetNamespace is not in an anyURI format?
b) Proceed to percent encode it and then validate the URI.[as per UTF-8 maybe]
The confusion here is that the WSDL/Schema viewing/interpreting in the
tool by a human would be difficult if I use all percent encodings in
the URIs. Shouldn't the tools detect the character set and
appropriately encode it. For instance, if I take a print out of the
document, I would prefer to view the native language, as opposed to
the encoded URIs.
Humans should be able to read the URI in the viewer in the native
language as-is, whereas any tools that intend to process it should
treat it as a set of octets, and handle them accordingly.
So the Q is : Should a designer tool emit errors when it validates
the document with the above behaviour?
Please advise.
Ram
--
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
-Ramkumar Menon
A typical Macroprocessor
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]