Re: [xml-dev] IRIs - Question
XML Schema URIs are IRIs. Cheers, Bryan Rasmussen On Wed, Apr 23, 2008 at 9:48 PM, Ramkumar Menon <ramkumar.menon@xxxxxxxxx> wrote: > 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format