[Gtranslator-devel] DTD spec. Uhhh...



Could you please look at this preliminary DTD file for UMTF 1.0? There's somewhere a logical error inside it, I'm sure as xmllint doesn't let it pass :-/

I get the following error: umtf.dtd:45: error: Start tag expected, '<' not found
<!DOCTYPE umtf [ 

<!ELEMENT umtf (language+, translator*, serial+, index+, resource*, buffer+, message*, translation*, value*, description*, date*)>

<!ELEMENT language EMPTY>
<!ELEMENT serial (#PCDATA)>
<!ELEMENT index (resource*)>
<!ELEMENT resource EMPTY>
<!ELEMENT buffer ANY>
<!ELEMENT message (value?, translator?, description?, date?)>
<!ELEMENT translation (value?, translator?, description?, date?)>
<!ELEMENT value (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT date (#PCDATA)>

<!ATTLIST umtf version CDATA "1.0">

<!ATTLIST language ename CDATA #REQUIRED>
<!ATTLIST language name CDATA #REQUIRED>
<!ATTLIST language email CDATA #REQUIRED>
<!ATTLIST language code CDATA #REQUIRED>
<!ATTLIST language href CDATA #IMPLIED>

<!ATTLIST translator name CDATA #REQUIRED>
<!ATTLIST translator email CDATA #REQUIRED>
<!ATTLIST translator tid CDATA #IMPLIED>

<!ATTLIST serial date CDATA #REQUIRED>

<!ATTLIST resource package CDATA #REQUIRED>
<!ATTLIST resource updated CDATA #IMPLIED>
<!ATTLIST resource index CDATA #REQUIRED>
<!ATTLIST resource premiereversion CDATA #IMPLIED>
<!ATTLIST resource href CDATA #IMPLIED>

<!ATTLIST buffer entries CDATA #REQUIRED>

<!ATTLIST value index CDATA #REQUIRED>
<!ATTLIST value tid CDATA #IMPLIED>

<!ENTITY umtfversion "1.0">
<!ENTITY umtfauthor "kabalak gtranslator org">

]>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]