The following XML shows the problem.
---------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE whitePaper[
<!ELEMENT whitePaper (head_L1,body)>
<!ATTLIST whitePaper xmlns:HTML CDATA #FIXED "http://www.w3.org/TR/REC-html40">
<!ELEMENT head_L1 (#PCDATA)*>
<!ELEMENT body (#PCDATA)*>
]>
<whitePaper xmlns:HTML="http://www.w3.org/TR/REC-html40">
<head_L1/>
<body/>
</whitePaper>
DomPrint produces:
------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE whitePaper[
<!ELEMENT whitePaper (head_L1,body)>
<!ATTLIST whitePaper xmlns:HTML CDATA #FIXED>
<!ELEMENT head_L1 (#PCDATA)*>
<!ELEMENT body (#PCDATA)*>
]>
<whitePaper xmlns:HTML="http://www.w3.org/TR/REC-html40">
<head_L1/>
<body/>
</whitePaper>
I found that the default #FIXED value at line 4 was missing.
What's wrong with me or DOMPrint?
( I am using Xerces-C++ v1.40 on MacOS9 )
How can I fix this invalid XML problem?
Is there any diffrent way to print out a DTD ( instead of using getinternalSubset() as
DomPrint does)?
Hope your answers!!
==================================================
==================================================
�츮 ���ͳ�, Daum
��� ���� ���� E-mail �ּ� �Ѹ��ϳ�
������ �ѱ� �˻����� Daum FIREBALL
http://www.daum.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]