A script-enabled browser is required for this page to function properly.

Specifying the encoding of an XML PDS report

The Tk2Motif.rgb file for the Japanese environment is: $ORACLE_HOME/guicommon9/tk90/admin/JA/Tk2Motif.rgb.

When you create a report against an XML data source, you must ensure that the encoding of both the XML file (data source) as well as the DTD matches the encoding of Reports Builder.

When you create an XML report against a table (for example, a Japanese table) the group element name is in the table's language (that is, Japanese). To match the data source, you should set the group's element name in the DTD to Japanese. The XML and DTD files can be in any encoding that supports Japanese. For example:

Shift_JIS, EUC-JP, or UTF-8

However, when the encoding of the XML data source as well as the DTD differs from Reports Builder, you will see the following error:

ERR-063001 xxx.dtd null

Note: This error is not displayed if you use an XML schema to define the rules.

To work around this issue, you must ensure that both the data source XML files as well as the DTD file for an XML report is encoded in the character set portion of Reports Runtime NLS_LANG.

For example, if your NLS_LANG=JAPANESE_JAPAN.JA16SJIS, then both your data source XML file as well as your DTD file should be encoded in Shift_JIS.

See also

About the XML pluggable data source