Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error: Attribute is not declared for element

New Here ,
Aug 08, 2018 Aug 08, 2018

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 >

TOPICS
Structured
952
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Aug 08, 2018 Aug 08, 2018
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines