Highlighted

Error: Attribute is not declared for element

New Here ,
Aug 08, 2018

Copy link to clipboard

Copied

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

Views

429

Likes

Translate

Translate

Report

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

Error: Attribute is not declared for element

New Here ,
Aug 08, 2018

Copy link to clipboard

Copied

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

Views

430

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 08, 2018 0
Adobe Community Professional ,
Aug 08, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 08, 2018 0