- From: Henrik Dahl <hdahl@inet.uni2.dk>
- Date: Fri, 1 Mar 2002 16:59:19 +0100
- To: <www-zig@w3.org>
My idea was to create a new option bit specifying that an XML document having the simple schema, which makes the kind of document as this possible, should be used: <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> <InternationalString> Finally the discussion on charactersets is over as the solution to the problem is handled by ordinary means in scope of XML </InternationalString> The idea here is of course, that the XML toolkit in use may handle all the characterset handling letting us to making Z39.50 relevant software and just relying on XML. If somebody want to use ISO 8859 Latin 1 they just specify an encoding attribute as shown. If they want some other characterset they can just lookup the XML specific value for the encoding attribute. It's obviously correct, that if InternationalString should contain only "2" it doesn't solve any real problem and the same is the case for the letters used in United States of America, because they're simply having the same byterepresentations in all relevant charactersets as long as we stick to singular byte charactersets. You may complain that the BER encoding becomes irrelevantly byte consumptive as a consequence. On the other hand this kind of consideration should prevent BER in favor of CER encoding. But, who cares about that to this magnitude nowadays. Best regards, Henrik Dahl -----Oprindelig meddelelse----- Fra: www-zig-request@w3.org [mailto:www-zig-request@w3.org]På vegne af Pieter Van Lierop Sendt: Friday, March 01, 2002 4:37 PM Til: 'Mike Taylor'; hdahl@inet.uni2.dk Cc: www-zig@w3.org Emne: RE: SV: Z39.50 character encoding Yes of course, it also applies applies to a string equal to "2". It even applies to an empty string. But I don't understand: > <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> We are talking about an option bit for utf-8? Pieter > -----Message d'origine----- > De : Mike Taylor [mailto:mike@tecc.co.uk] > Envoyé : vendredi 1 mars 2002 16:31 > À : hdahl@inet.uni2.dk > Cc : www-zig@w3.org > Objet : Re: SV: Z39.50 character encoding > > > > Date: Fri, 1 Mar 2002 15:59:09 +0100 > > From: "Henrik Dahl" <hdahl@inet.uni2.dk> > > > > Let's assume we just talk about the InternationalString PDU and it's > > characterset, i.e. not anything in scope of records in the response > > of a PresentRequest. What do the rest of you think of an idea of > > simply embedding an XML document in the value [...] > > Just to be clear. Are you suggesting that when a server returns a > Bib-1 diagnostic 111 (Too many databases specified), instead of giving > the string "2" in addInfo, it should give: > > <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> > <InternationalString> > 2 > </InternationalString> > > ? > > (Yes, this is meant to be a _reductio ad absurdum_ :-) > > _/|_ _______________________________________________________________ > /o ) \/ Mike Taylor <mike@miketaylor.org.uk> > www.miketaylor.org.uk > )_v__/\ "Funer & Rawbl" -- Douglas Adams/Mark "Mage" Hodge. >
Received on Friday, 1 March 2002 10:59:00 UTC