Re: Getting NSXMLDTD to initialize
Re: Getting NSXMLDTD to initialize
- Subject: Re: Getting NSXMLDTD to initialize
- From: Fritz Anderson <email@hidden>
- Date: Wed, 9 Nov 2005 16:07:13 -0600
I have cause to doubt that, as typing
bbedit /System/Library/DTDs/*.dtd
opens a slew of documents that do not answer to the form you suggest.
Still it's worth trying... no. The problem persists: The NSXMLDTD
init... methods return no error but don't fill in any of the data of
the resulting DTD object.
-- F
On 9 Nov 2005, at 3:49 PM, Will Mason wrote:
Doesn't the DTD need to be bracketed with the name of its DOCTYPE?,
like:
<!DOCTYPE NameOfYourDocType
[
Your element info here
]>
What you presented as your DTD does not look valid to me.
----- Original Message ----
From: Fritz Anderson <email@hidden>
To: Cocoa-Dev List <email@hidden>
Sent: Wed Nov 9 15:28:46 2005
Subject: Getting NSXMLDTD to initialize
I have the following DTD:
======
<!ELEMENT kanjitime (movie*)>
<!ELEMENT movie (mark*)>
<!ATTLIST movie
name CDATA #REQUIRED
scale CDATA #DEFAULT "600"
<!ELEMENT mark (#PCDATA)>
<!ATTLIST mark
time CDATA #REQUIRED
======
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden