OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cam-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [cam-dev] constraint management


Paul,

Which version of CAM editor are you running?  The latest 2.2.1 sorts the constraint rules by XPath when you save the template - so it groups them together for an element (see View / View Source).  This also makes using a visual diff tool like KDiff3 much better - as you can see precisely what was changed.

The order in the overall rules panel window at the bottom is tied to the Java JDOM objects sequence - so that is why that appears to randomly sequence things there.  I've put in a change request to also sort that view by XPath too.

However - if you search for an element or attribute (using the Structure Search icon) - then the upper ItemRules tab contains just the rules for that item.

Hope that helps.

David

-------- Original Message --------
Subject: [cam-dev] constraint management
From: "Paul Kiel" <paul@xmlhelpline.com>
Date: Thu, August 02, 2012 8:11 pm
To: <cam-dev@lists.oasis-open.org>

Getting up to speed.  Been a long time since I looked at this before so sorry if this has already been covered.
I’m trying to organize the constraints.  The CAM editor displays them in the rules window in seemingly random order (not in the order they occur in the template L  ).  When I add a new constraint at the top of the section in my regular xml editor, when loaded into the CAM editor it appears in the middle for some maddening reason.
 
Would be great if we could have an identifier for each constraint.  This way large numbers of constraints could be managed easier (as well as find them in the rules window of the editor).  Anyone thought of this or am I too much of a newbie? Adding an identifier to the CAM schema so that each constraint can be uniquely identified.
 
Thanks,
 
- Paul Kiel
 
===================================
W. Paul Kiel
xmlHelpline.com Consulting
Your helpline for xml solutions.
===================================
 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]