Re: Xml
Re: Xml
- Subject: Re: Xml
- From: Klaus Backert <email@hidden>
- Date: Tue, 4 Nov 2008 18:58:44 +0100
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 today
<!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>
Looks better, but both problems still persist: "no DTD found!" and
NSXMLParserNAMERequiredError.
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@hidden)
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:
This email sent to email@hidden
- Follow-Ups:
- Re: Xml
- From: "Gerriet M. Denkmann" <email@hidden>
References: | |
| >Xml (From: "Gerriet M. Denkmann" <email@hidden>) |
| >Re: Xml (From: Klaus Backert <email@hidden>) |
| >Re: Xml (From: "Gerriet M. Denkmann" <email@hidden>) |