[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: IRIs - Question
There could be some situations where there are incompatibilities, but in your scenario not; as an example incompatibility IIRC { is allowed in an anyURI but not in IRIs. As a general rule however the two are the same. I removed xsl-list from the cc on this email as it is outside the scope of that list and continued usage will only prompt a scolding. Cheers, Bryan Rasmussen On Wed, Apr 23, 2008 at 9:57 PM, bryan rasmussen <rasmussen.bryan@g...> wrote: > XML Schema URIs are IRIs. > > Cheers, > Bryan Rasmussen > > > > On Wed, Apr 23, 2008 at 9:48 PM, Ramkumar Menon > <ramkumar.menon@g...> 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 > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|