Am 04.11.2008 um 17:49 schrieb Gerriet M. Denkmann:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!DOCTYPE [ <!ELEMENT geometry (vertices)> <!ATTLIST geometry version CDATA "1.0"> <!ELEMENT vertices (vertex)*><!ELEMENT vertex EMPTY> <---- new as of todayLooks better, but both problems still persist: "no DTD found!" and NSXMLParserNAMERequiredError.<!ATTLIST vertex name CDATA "none"> <!ATTLIST vertex x CDATA "nan"> <!ATTLIST vertex y CDATA "nan"> <!ATTLIST vertex z CDATA "nan"> ]> <geometry version="1.3"> <vertices> <vertex name="0" x="0" y="9" z="0"/> <vertex name="1" x="0" y="-9" z="0"/> </vertices> </geometry>Any ideas? Kind regards, Gerriet.
AFAIK the document type declaration needs the name of the root element: <!DOCTYPE geometry [ ... ]> BTW, I think, this has nothing to do with Cocoa-Dev ;-) Greetings Klaus _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
