Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Requirements Modeling Framework  » AttributeValueXHTML contains an object with illegal attributes
AttributeValueXHTML contains an object with illegal attributes [message #1727384] Tue, 22 March 2016 15:30 Go to next message
Max Russell is currently offline Max RussellFriend
Messages: 39
Registered: May 2015
Member
I was trying using a column in a specification using the XHTML type (defined under Spec Type and Datatype).

an error is shown in the specification for the entry I added "AttributeValueXHTML contains an object with illegal attributes: XHTML has attribute(s) style"

When I've investigated the .reqiffile, the issue appears to be this:

<ATTRIBUTE-VALUE-XHTML>
<DEFINITION>
<ATTRIBUTE-DEFINITION-XHTML-REF>_r6dw4PA0EeWnSc7dzSGAJg</ATTRIBUTE-DEFINITION-XHTML-REF>
</DEFINITION>
<THE-VALUE>
<xhtml:div><xhtml:p style="">I can add in far greater detail using an XHTML editor</xhtml:p><xhtml:object data="Hub2/renfe.png" style="max-width:100%;" type="image/png">This is what will show if the image can't be displayed.</xhtml:object></xhtml:div>
</THE-VALUE>
</ATTRIBUTE-VALUE-XHTML>

So, it looks like the style applied (or not applied) to the text entered in the XHTML editor.
Re: AttributeValueXHTML contains an object with illegal attributes [message #1727387 is a reply to message #1727384] Tue, 22 March 2016 16:08 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 235
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Max,

Even though you get an error, you should be able to work normally, right? We recently implemented Consequent, the ReqIF validator. It mercilessly shows all violations of the ReqIF standard. The XHTML has quite a few restrictions. If you use features beyond what's officially allowed, you'll get errors. But this should not stop you from saving or working.

You can disable individual validation rules in the Preferences, if this is annoying to you.

Best,

- Michael
Re: AttributeValueXHTML contains an object with illegal attributes [message #1727465 is a reply to message #1727387] Wed, 23 March 2016 09:37 Go to previous message
Max Russell is currently offline Max RussellFriend
Messages: 39
Registered: May 2015
Member
Yes, it still works fine. Thought I'd flag it just in case.

I'll have a look at the preferences.
Previous Topic:Linking between specifications?
Next Topic:What version of eclipse?
Goto Forum:
  


Current Time: Thu Apr 25 04:15:58 GMT 2024

Powered by FUDForum. Page generated in 0.02373 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top