External DTD with XDOM3.2
- From: hasant73@xxxxxx
- Date: 23 May 2006 02:19:46 -0700
Hello,
I try to validate my xml file with a external dtd file.
My dtd file starts like this:
<!ELEMENT import (version, customer)>
<!ELEMENT version (#PCDATA)>
<!ELEMENT customer (cuspayment?, cusbranch*, cuscomm+, cusaddress+,
rep?, prditems?)>
<!ATTLIST customer
no CDATA #REQUIRED
sex (5|6) #REQUIRED
name CDATA #REQUIRED
addname CDATA #IMPLIED
block (204|205|206|207|208|209|210|211) #REQUIRED
iscommercial CDATA "0"
comment CDATA #IMPLIED
>
And my xml file has the reference to this dtd file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE import SYSTEM "import.dtd">
<import>
Both files are in the same folder but some how I cannot validate the
xml file using the dtd. I get lots of ELEMENT_NOT_DEFINED messages.
Where if I put the dtd into the xml file it works fine.
Does somebody have a idea what it could be.
Maybe a missing setting in the xdom3.2 component that I need to do?
Thank you very much
Hasan Tuncay
.
- Follow-Ups:
- Re: External DTD with XDOM3.2
- From: DB-1
- Re: External DTD with XDOM3.2
- Prev by Date: Re: Free StringGrid with nested header columns and footer
- Next by Date: Re: External DTD with XDOM3.2
- Previous by thread: Free StringGrid with nested header columns and footer
- Next by thread: Re: External DTD with XDOM3.2
- Index(es):
Relevant Pages
|
|