Thanks for your reply. I'll try to paste the offending contents:
I find it a bit strange that those 3 characters would not be supported in the element name. They are basic
characters whose meaning is the "Japanese language". That is why I was wondering if something
went wrong during the transcoding process from Shift-JIS to UTF-16, but wasn't sure if there was
a transcoding problem since those 3 characters display and they seem fine when they are
present in the element content:
> -----Original Message-----
> From: G. Ken Holman [ <mailto:[log in to unmask]> mailto:[log in to unmask]]
> Sent: Monday, May 31, 2004 1:57 PM
> To: [log in to unmask]
> Subject: Re: non-western XML element names?
> At 2004-05-31 13:27 -0700, Juan Chu Chow wrote:
> >Sorry about the attachment, but I wasn't sure how to copy
> >and paste without mangling.
> Attachments are stripped ... can you try posting the content
> directly into
> the message with very small (10-line) examples?
> >The attached XML file, vectors.xml (3KB),
> >had contents that were originally encoded in Shift-JIS.
> >I'm not sure if something went wrong in the transcoding,
> from Shift-JIS
> >to UTF16, or if non-western names are not allowed as element
> >names in XML.
> Name rules are relaxed in XML 1.1 compared to XML 1.0 ... perhaps your
> choice is not in the set of rules for XML 1.0.
> Here are the valid Unicode name characters for XML 1.0:
>  NameChar ::= Letter | Digit | '.' | '-' | '_' |
> ':' | CombiningChar | Extender
>  Name ::= (Letter | '_' | ':') (NameChar)*
>  Names ::= Name (#x20 Name)*
> where "Letter" is a large set of ranges defined
> at: <http://www.w3.org/TR/REC-xml/#NT-Letter> http://www.w3.org/TR/REC-xml/#NT-Letter
> Here are the valid Unicode name characters for XML 1.1:
>  NameStartChar ::= ":" | [A-Z] | "_" | [a-z] |
> [#xC0-#xD6] |
> [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] |
> [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] |
> [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] |
> [4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 |
> [#x0300-#x036F] | [#x203F-#x2040]
>  Name ::= NameStartChar (NameChar)*
> >The Japanese text seems fine when it is in content,
> Sure ... very few restrictions there.
> >Any pointers will be greatly appreciated.
> I hope this helps.
> ............................. Ken
> Public courses: Spring 2004 world tour of hands-on XSL instruction
> Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004
> World-wide on-site corporate, govt. & user group XML/XSL training.
> G. Ken Holman <mailto:[log in to unmask]> mailto:[log in to unmask]
> Crane Softwrights Ltd. <http://www.CraneSoftwrights.com/l/> http://www.CraneSoftwrights.com/l/
> Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
> Male Breast Cancer Awareness <http://www.CraneSoftwrights.com/l/bc> http://www.CraneSoftwrights.com/l/bc
> Legal business disclaimers: <http://www.CraneSoftwrights.com/legal> http://www.CraneSoftwrights.com/legal