I downloaded xerces 1.3, and crimson 1.1, inside crimson's package there is
a sample (attached) with japanese encoding. But I fail to parse it with
either xerces or crimson. Both complained euc-jp is not supported. But in
the faq for xerces it says it is supported, and the sample is form crimson
package. And IE5 seems to display it ok. What am I missing?
My classpath for xerces:
CLASSPATH=C:\xml\xerces-1_3_0\xerces.jar;C:\xml\xerces-1_3_0\xercesSamples.j
ar;c:\jdk1.3.1\jre\li
b\rt.jar;c:\jdk1.3.1\jre\lib\i18n.jar

for crimson:
CLASSPATH=C:\xml\crimson-1.1\jaxp.jar;C:\xml\crimson-1.1\crimson.jar;c:\jdk1
.3.1\jre\lib\rt.jar;c:\jdk1.3.1\jre\i18n.jar

thanks

davidl
<?xml version="1.0" encoding="euc-jp"?>
<!DOCTYPE ���� SYSTEM "weekly-euc-jp.dtd">
<!-- ���󥵥�ץ� -->
<����>
  <ǯ�>
    <ǯ��>1997</ǯ��>
    <����>1</����>
    <��>1</��>
  </ǯ�>

  <��̾>
    <��>����</��>
    <̾>��Ϻ</̾>
  </��̾>

  <��̳���ꥹ��>
    <��̳���>
      <��̳̾>XML���ǥ������κ���</��̳̾>
      <��̳������>X3355-23</��̳������>
      <��������>
        <���Ѥ�깩��>1600</���Ѥ�깩��>
        <���ӹ���>320</���ӹ���>
        <����Ѥ�깩��>160</����Ѥ�깩��>
        <������ӹ���>24</������ӹ���>
      </��������>
      <ͽ����ܥꥹ��>
        <ͽ�����>
          <P>XML���ǥ������δ��ܻ��ͤκ���</P>
        </ͽ�����>
      </ͽ����ܥꥹ��>
      <�»ܻ���ꥹ��>
        <�»ܻ���>
          <P>XML���ǥ������δ��ܻ��ͤκ���</P>
        </�»ܻ���>
        <�»ܻ���>
          <P>����¾�����ʤε�ǽĴ��</P>
        </�»ܻ���>
      </�»ܻ���ꥹ��>
      <��Ĺ�ؤ���������ꥹ��>
        <��Ĺ�ؤ���������>
          <P>�äˤʤ�</P>
        </��Ĺ�ؤ���������>
      </��Ĺ�ؤ���������ꥹ��>
      <�������к�>
        <P>XML�Ȥϲ����狼��ʤ���</P>
      </�������к�>
    </��̳���>

    <��̳���>
      <��̳̾>�������󥸥�γ�ȯ</��̳̾>
      <��̳������>S8821-76</��̳������>
      <��������>
        <���Ѥ�깩��>120</���Ѥ�깩��>
        <���ӹ���>6</���ӹ���>
        <����Ѥ�깩��>32</����Ѥ�깩��>
        <������ӹ���>2</������ӹ���>
      </��������>
      <ͽ����ܥꥹ��>
        <ͽ�����>
          <P><A href="http://www.goo.ne.jp";>goo</A>�ε�ǽ��Ĵ�٤Ƥߤ�</P>
        </ͽ�����>
      </ͽ����ܥꥹ��>
      <�»ܻ���ꥹ��>
        <�»ܻ���>
          <P>���ˡ��ɤ������������󥸥󤬤��뤫Ĵ������</P>
        </�»ܻ���>
      </�»ܻ���ꥹ��>
      <��Ĺ�ؤ���������ꥹ��>
        <��Ĺ�ؤ���������>
          <P>��ȯ�򤹤�ΤϤ��ɤ��ʤΤǡ�Yahoo!��������Ʋ�������</P>
        </��Ĺ�ؤ���������>
      </��Ĺ�ؤ���������ꥹ��>
      <�������к�>
        <P>�������󥸥�Ǽ֤����餻�뤳�Ȥ��Ǥ��ʤ�������Ĵ����</P>
      </�������к�>
    </��̳���>
  </��̳���ꥹ��>
</����>

Attachment: weekly-euc-jp.dtd
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to