Skip to main content
miguels82713336
Known Participant
August 8, 2018
Question

Error: Attribute is not declared for element

  • August 8, 2018
  • 1 reply
  • 1063 views

Error: Attribute 'Hidden' is not declared for element 'BitFieldsPostTableDescription'

I keep getting this error even after declaring the attribute in the EDD and generating a new dtd file. I also updated my Template.fm file with the new element definitions.

Any ideas what is causing the error? Is something missing?

EDD:

Element (Container): BitFieldsPostTableDescription

Allgemeine Regel: (<TEXT> | Para)*

Attributliste

Name: Hidden Auswahl Optional

Auswahl: Yes | No

Voreinstellung: No

Textformatregeln

Elementabsatzformat: Body

Wenn Kontext gleich: * < Register[Hidden="Yes"]

Vorgegebene Schrifteinstellungen

Farbe: Red

* < BitFieldsPostTableDescription[Hidden="Yes"]

Vorgegebene Schrifteinstellungen

Farbe: Red

Sonst

Keine zusätzliche Formatierung.

DTD:

<!ELEMENT BitFieldsPostTableDescription

                     - -  ((#PCDATA | Para)*) >

<!ATTLIST BitFieldsPostTableDescription

                     Hidden    (Yes|No)  No >

This topic has been closed for replies.

1 reply

Inspiring
August 8, 2018

Miguel,

   Have you looked at the generated XML? Does it also seem to be correct?

   Also, review the application definition to make sure it specifies the correct DTD. To confirm FM is using the DTD you think it is, you can put in a syntax error and make sure FM reports it.

     --Lynne