You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Allen Brookes <ab...@roguewave.com> on 2004/07/02 01:43:03 UTC

non-ascii characters in names

Hi,
 
I'm having a problem with non-ascii characters using XS.  I have a schema:
 
<?xml version="1.0" encoding="Shift_JIS"?>
<xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema
<http://www.w3.org/2001/XMLSchema> "
  xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> "
  xsi:schemaLocation=
                  " http://www.w3.org/2001/XMLSchema
<http://www.w3.org/2001/XMLSchema> 
                   http://www.w3.org/2001/XMLSchema.xsd
<http://www.w3.org/2001/XMLSchema.xsd> ">
  <xs:element name="encodedTag">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="f"" type="xs:string"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

When I look at the string that represents the name in the
XSElementDeclaration that represents encodedTag it is just "?".
 
Is there some trick to making the transcoding work?
 
Thanks,
Allen

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org