Hello Hussein,

I just read your message more closely and noticed this:

* Common pitfall: for an element to be displayed with the style of the selected 
profile or with the style of the unselected profile, this element must have 
*all* the profiling attributes set on it.

This means that the visual "profile" filtering and the actual representation of 
the data that would emerge from a publishing job could be very different does 
it not?

Regards,
Jeff.

-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com] 
Sent: Wednesday, March 25, 2015 10:15 AM
To: Jeff Hooker
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Defined profile styles appearing the 6.1 but not in 6.0

On 03/25/2015 04:40 PM, Jeff Hooker wrote:
>
> I've created a sample .profiles file with CSS styles defined for the 
> selected and unselected profiles, and a test XML file that uses the 
> attribute values defined in the profiles.
>
> In XMLmind 6.1 the test file displays exactly as I would expect. In 
> XMLmind 6.0 the styles do not display at all. Is this expected? If 
> not, is there a setting that I might have missed in 6.0 to enable display?
>

No, there is nothing special to do.



* Common pitfall: for an element to be displayed with the style of the selected 
profile or with the style of the unselected profile, this element must have 
*all* the profiling attributes set on it.

If this is not what you want, you can as easily assign different styles to 
individual profiling attributes (as opposed to styling the selected/unselected 
profiles as a whole). See 
http://www.xmlmind.com/xmleditor/_distrib/doc/profiling/the_solutions.html



* If submenu "Conditional Processing" and the document templates called 
"Conditional Processing Profiles"  are missing in the DITA and DocBook 
configurations, then the "Easy Profiling" add-on has simply not been installed 
in v6.0.



* Otherwise, may be the problem comes from a (not clearly identified; see 
http://www.xmlmind.com/xmleditor/changes.html) bug in v6.0 which has been fixed 
in v6.1.

I'm saying this because even latest v6.2 has a rather stupid bug related to the 
"Easy Profiling" add-on:

---
"Easy Profiling" add-on: let's suppose you have created a .profiles file where 
profiling attribute product has possible values "Lite", "Professional", 
"Ultimate". Giving CSS styles to only some of the values (e.g. "Professional" 
and "Ultimate", but not "Lite") caused XXE to raise a NullPointerException. 
This exception was raised when attempting to use any of the conditional 
processing profiles contained in the .profiles file.
---

This bug is fixed in (not yet released) XXE v6.2.1.


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to