Attribute mapping not working with complex searches

Hi all,
We are using "attribute mapping" for some attributes and that works fine as far as we don't make a complex search. We are doing the attribute mapping at the Directory proxy 6.3 so we map businessSector to businessUnit. Everything work fine if we just put businessSector in the search, but if we add something else to the search filter, it will not work.
So, if we use filter businessSector=XXXXXXX, it will work and make all the mapping, but if we use something like "(&(pocketSizeOffice=Yes)(businessSector=XXXXXXX))", it will not work.
We have look at the logs and we see the mapping happening in the first case, but not in the second one.
Have somebody seem this before or is facing this problem?
Thanks,
Federico

Hi Federico,
I was not able to reproduce the problem with DPS 6.3 in my labs... so the conditions to reproduce it may be more tricky than described. Anyway, this is not a known problem.
Feel free to contact Sun support to have a fix delivered to you.
Thanks
-Sylvain

Similar Messages

  • Hp t510 right alt key mapping not working with ctrl + s

    Using the HP t510 to launch a xendesktop session via storefront. We have a mission critical application that uses the ctrl + alt + s hotkey to secure itself. The left alt key with ctrl + s is working as it should but the right alt key does not. When testing in the win7 on screen keyboard the right alt and ctrl stay lit up. When hitting the S key after depressing both the  right alt + ctrl (right or left ctrl doesn't matter) the alt keys disappear from the on screen keyboard as if they were no longer pushed. They hotkey combination never makes it to the application and it does not secure itself.
    I've tested this same workflow on an ASUS thin client, desktop, and laptop hardware with no issues. It does in fact seem to be some hotkey mapping the HP device has baked into it using the right alt key.
    Has anyone seen any issues that even closely mimic this? I've seen some for ctrl + alt + del but their fixes don't work for this specific issue.

    Hello xXenStatex,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that the alt key mapping is not working with ctrl + s on your Thin Client, and I would be happy to guide you towards a resolution!
    I am sorry, but to get your issue more exposure, I would suggest posting it in the commercial forums, since this is a commercial product. You can do this at:
    http://h30499.www3.hp.com/t5/Workstations-Thin-Clients/bd-p/bsc-635
    I hope this helps!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Clob mapping not working with mysql

    Hi,
    I have an application that i'm running with MySQL and Oracle at the same
    time. At some point, i need to use a 'clob' mapping. When i do this, it
    just works fine with oracle but it fails with mysql. i have the exception:
    Field "com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description"
    is mapped as a clob, but should be represented as a different mapping.
    If the field is a string and you would like to force it to map as a
    clob, add an extension to its field metadata with a key of "jdbc-size"
    and a value of
    -1.[com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description]
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:132)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:118)
         at
    kodo.jdbc.meta.ClobFieldMapping.fromMappingInfo(ClobFieldMapping.java:46)
    if i use a value mapping, it works with MySQL but fails with Oracle (I
    have sql error because a clob is used in a distinct select).
    In the manual, it is written "Note that some databases can support
    string of unlimited length without using a CLOB; when this is the case
    the mapping tool will install a value mapping in favor of
    this mapping.". So apparently, this is not the case with MySQLDictionary.
    To solve my problem and have my code working with both databases, i had
    to extend the MySQLDictionary and overwrite the replaceFieldMapping
    method in order to replace the clob mapping by a value mapping at
    runtime but i don't feel confident to do this kind of modifications by
    mysel and would expect this behaviour to be solved quite soon.
    Thanks for your help since this problem is urgent for us,
    Laurent Czinczenheim

    Laurent-
    The best solution would probably be to just have separate mappings for
    the MySQL and Oracle databases. The easiest way to accomplish this would
    be to have a separate setting for each of the databases. E.g.:
    kodo.jdbc.meta.MappingFactory: file(SingleFile=true, FileName=oracle.mapping)
    kodo.jdbc.meta.MappingFactory: file(SingleFile=true, FileName=mysql.mapping)
    That way, you can use a clob mapping for Oracle, and a normal value
    mapping for MySQL (since MySQL doesn't need to use the CLOB mapping, and
    it isn't very efficient).
    For more details on this, see:
    http://docs.solarmetric.com/manual.html#ref_guide_mapping_factory
    Another solution is to just stick with your custom extension of the
    MySQLDictionary, which is a perfectly valid way of having special CLOB
    handling in MySQL. Note, though, that CLOB handling is less efficient
    than VARCHAR handling, so it should be a mapping of last resort, and
    there isn't any need to use it in MySQL.
    In article <[email protected]>, czinczenheim wrote:
    Hi,
    I have an application that i'm running with MySQL and Oracle at the same
    time. At some point, i need to use a 'clob' mapping. When i do this, it
    just works fine with oracle but it fails with mysql. i have the exception:
    Field "com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description"
    is mapped as a clob, but should be represented as a different mapping.
    If the field is a string and you would like to force it to map as a
    clob, add an extension to its field metadata with a key of "jdbc-size"
    and a value of
    -1.[com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description]
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:132)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:118)
         at
    kodo.jdbc.meta.ClobFieldMapping.fromMappingInfo(ClobFieldMapping.java:46)
    if i use a value mapping, it works with MySQL but fails with Oracle (I
    have sql error because a clob is used in a distinct select).
    In the manual, it is written "Note that some databases can support
    string of unlimited length without using a CLOB; when this is the case
    the mapping tool will install a value mapping in favor of
    this mapping.". So apparently, this is not the case with MySQLDictionary.
    To solve my problem and have my code working with both databases, i had
    to extend the MySQLDictionary and overwrite the replaceFieldMapping
    method in order to replace the clob mapping by a value mapping at
    runtime but i don't feel confident to do this kind of modifications by
    mysel and would expect this behaviour to be solved quite soon.
    Thanks for your help since this problem is urgent for us,
    Laurent Czinczenheim
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Marketing Attribute Mass not working with CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT

    Hi,
    I am trying to assign a marketing attribute to target groups I have created and saved in Web UI but the assignment is not working in SE38.
    => The program CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT runs but displays "the charachteristic has been evaluated for 0 business partner(s)".
    Knowing that
    - the target group was saved un Web UI
    - the target group was selected in the program CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT
    - the old and new values set as input
    Any ideas of what might have gone wrong?
    Thanks in advance,
    Eli

    Hi,
    check notes:
    Note 1585130 - ATT: Problem with report:CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT
    Note 1561548 - SEG: problem with report CRM_MKTBP_BPS_OF_TG_ASSIGN_ATT
    Denis.

  • Port mapping not working with 7.5.1

    I am having trouble getting Port mapping working with the new 7.5.1 firmware. Port mapping is not working. Port mapping was working fine before update, now all attempts to connect from WAN on ports are rejected. Tested with: telnet <wan-ip> <port>
    I have removed and re-added all port mapping entries - no luck. Power cycled several times - no luck.
    Other info:
    I have an: Airport Extreme (Simultaneous Dual-Band II) running Version: 7.5.1.
    It is setup to "Allow this network to be extended"
    Network is being extended with an Airport Express with 802.11n running 7.4.2

    yeah. I noticed the same thing. now the splash screen comes on without the flashing green squares and just hangs. i tried unintalling and then reinstalling and still no go. kind of annoying but they will probably come out with an update pretty soon

  • TimedObject -' TX attribute ' is not working with netbeans 5.0 and SAS 8.0

    Hello,
    I am building a master timer stateless session bean. I have followed the examples from this site as well as I know how, and have even removed all of the system messages and other fluff. I continue to get the following error:
    EJB Timeout method must have an attribute value of TX_REQUIRES_NEW OR TX_NOT_SUPPORTED for ejb
    I have looked through the TimedObject, Timer, and TimerHandle API, all of which seems very simple and does not have any TX field. The example from the site is also very simple, only requiring the declaration of a timer start, which needs a TimerHandle return(although the example does not have it returning a value, I have tried this code both as written and with a class level TimerHandle object returned from the createTimer(...).getHandle() method ), and the declaration of a void ejbTimeout(Timer timer). This method should work with no body in the method since the return is void. I also set my timer intervals to ensure that they were
    I am very confused and feel that this should be very easy. Does anyone know if I am dealing with a configuration error? I know that netbeans does not directly support the use of the ejb TimerService (which seems a little crazy to me, as most non-trivial applications require a timer in some form for periodic events), so are there any deployment descriptors in any of the files which need to be set for this service to work? This error looks to me like a configuration error on some level, or possibly a missing entry in one of the myriad of xml configuration files that are required. The code for my bean is below:
    package QualityPortal;
    import javax.ejb.*;
    * This is the bean class for the MasterSchedulerBean enterprise bean.
    * Created Jul 18, 2006 12:40:18 PM
    * @author ttaylor
    public class MasterSchedulerBean implements SessionBean, MasterSchedulerLocalBusiness, TimedObject
    private SessionContext context;
    private TimerHandle timerHandle = null;
    public void setSessionContext(SessionContext aContext)
    context = aContext;
    * @see javax.ejb.SessionBean#ejbActivate()
    public void ejbActivate()
    * @see javax.ejb.SessionBean#ejbPassivate()
    public void ejbPassivate()
    * @see javax.ejb.SessionBean#ejbRemove()
    public void ejbRemove()
    // </editor-fold>
    * See section 7.10.3 of the EJB 2.0 specification
    * See section 7.11.3 of the EJB 2.1 specification
    public void ejbCreate()
    timerHandle = startTimer();
    public javax.ejb.TimerHandle startTimer()
    TimerService timerService = context.getTimerService();
    Timer timer = timerService.createTimer(30000, "created timer");
    return timer.getHandle();
    public void ejbTimeout(Timer timer)
    //call to another bean here
    WMLReportFactoriesBean wml = new WMLReportFactoriesBean();
    wml.inspectionThroughput();
    }

    Your ejbTimeout() must have a transaction attribute, which resides in the ejb-jar.xml. You'd have to edit your descriptor to contain something like:
    <container-transaction>
    <method>
    <ejb-name>MasterScheduler</ejb-name>
    <method-name>ejbTimeout</method-name>
    </method>
    <trans-attribute>RequiresNew</trans-attribute>
    </container-transaction>
    Or NotSupported.
    Hope it helps.

  • Google maps not working with symbian belle upgrade

    guys after recent upgrade with symbian belle google maps stopped working is there any problem will belle dose it support google maps 4.1.1

    For those people still can't get Google map to work on Belle after the Wifi trick, a hard reset finally fixed mine!  (No, a soft reset did not fix mine, but you should try it first.)  Yea, it's a pain in the butt having to reinstall some apps and reconfigure preferences.  But my phone also runs smoother and the battery lasts longer, as least it seems.  I still need to turn on Wifi for Google map to start.
    Detailed steps:
    Do a full backup with Nokia Suite, just in case. (If you restore later, do not restore apps & preferences.  Otherwise, Google map won't work.)
    Put phone in Offline mode to end all calls and connections: Press Hangup > Offline
    Try Soft reset first: Settings > Phone > Phone Management > Factory Settings > Restore.
    Reinstall Google Maps.
    If soft reset didn't work, try Hard reset: Settings > Phone > Phone Management > Factory Settings > Delete data and restore
    Enjoy!

  • GetObject(int, Map) not working with oracle JDBC

    I'm using Oracle and I'd like to get Date fields as Timestamps since an Oracle date column includes time. I'm trying to use getObject(int, Map) to map the types to Java objects, but it's not working. This is my code:
         public static final HashMap oracleMap = new HashMap();
         static{
              try{
                   oracleMap.put( "DATE", Class.forName("java.sql.Timestamp") );
                   oracleMap.put( "NUMBER", Class.forName("java.math.BigDecimal") );
                   oracleMap.put( "VARCHAR2", Class.forName("java.lang.String") );
                   oracleMap.put( "CLOB", Class.forName("java.sql.Clob") );
                   oracleMap.put( "LONG", Class.forName("java.lang.String") );
              }catch(Exception e){
                   IllegalStateException ise = new IllegalStateException("Oracle type mapping failed.");
                   ise.initCause(e);
                   throw ise;
         }And
                        BASE.println("rs.getClass().getName(): "+rs.getClass().getName());                                        
                        BASE.println("rs.getMetaData().getColumnTypeName(i): "+rs.getMetaData().getColumnTypeName(i));
                        if(rs.getClass().getName().startsWith("oracle")) valObj = rs.getObject(i, DOMTools.oracleMap);                    
                        else valObj = rs.getObject(i);                    
                        BASE.println("valObj.getClass().getName(): "+valObj.getClass().getName());Here's a snippet of my output that illustrates the code not working:
    rs.getClass().getName(): oracle.jdbc.driver.OracleResultSetImpl
    rs.getMetaData().getColumnTypeName(i): DATE
    valObj.getClass().getName(): java.sql.Date
    Anyone know if this is a driver issue? Anyone had luck doing this with Oracle?
    Thanks.

    Well, I'd like it to be java.sql.Timestamp instead of
    java.sql.Date. My actual type is an oracle "DATE".
    Are you saying the Map key for this would be
    "TIMESTAMP" and that by default it maps to
    java.sql.Date? Doesn't seem like that makes sense.I am saying that "TIMESTAMP" is not an oracle value but is instead a JDBC value. Thus it is up to to the driver, not you, to determine what oracle types map to the JDBC type.

  • Required attribute does not work with any data type other than String

    sir,
    I am a new to JSF. My problem is that I have used an integer type data in my page which is taking its value from a bean.But in jsf code I have used the required attribute for the <h:inputText> but if I leave the text box empty it is not showing the validation error which it show show. Another problem is that the page is also not navigating to the next page.
    The code is
    <h:inputText value="#{UserBean.age}" required="true"/>
    where age is of integer type

    Well. The fact that it is not jumping to the next view is "works as required". The assumption is, that once you say a field is required, it could be that the application CANNOT function without that value. Therefor the initial view is redisplayed until all required values are entered.
    IF you need a different behaviour, then the OptionalValidator-package which is currently in development state, is the way to go. It allows to specify different validating strategies for different links on a view (no validation, soft validation (== allow to go on, but produce warning messages), hard validation (== the way JSF works right now)). The problem is that with JSF 1.1 it is quite difficult to implement this behaviour. For simple validators (no parameters) it is working, but for complex validators (requiring parameters) not yet. For more info: http://wiki.apache.org/myfaces/OptionalValidationFramework
    No comment on the String-only behaviour, as I have not yet tested/observed that problem...
    hth
    Alexander

  • Arrow key scrolling not working with advanced search- Adobe Reader X

    I'm using adobe reader X and when I get results from an advanced search I am scrolling down the search results with the arrow keys, but the document will not update. I know this will work. Can anybody please help?

    I am also having this problem.  Previous installations of Acrobat X allowed me to use the up and down arrows to navigate the search results, but no longer loads the appropriate page in the document.  I have to click each entry or hit the enter key after using the down arrows to update the page.

  • Query Not working with Keyword search

    I need to search based on the keywords from the client. See my query.
    The intent is to search the DB table the Users entered Keyword 'Har'
    I need to get from Columns "CompanyName","Franchise" and "Category "
    all the Records where the Country is USA, and State is TX, Type is 'motorcycle' and columns "CompanyName","Franchise" and "Category " have records with the keyword "Har".
    Lets assume Franchise has "Harrrr", CompanyName has "harley davidson" and Category has "Harl Bannon", I need to get all of them provided the state is Texas and the country is USA.
    SELECT     *
    FROM contacts
    WHERE (0=0)
    AND country LIKE 'USA%'
    AND CompanyName LIKE 'Har%'
    AND Franchise LIKE 'Har%'
    AND Category LIKE 'Har%'
    and state LIKE 'TX%'
    and Type in('motorcycle')
    AND active = 1

    OK This is my revised query which is working now but the server is taking a heat on it to retrieve the query. Please Help
    SELECT *
    FROM (SELECT *
         FROM Contacts
         WHERE (CompanyName IN (SELECT CompanyName
                   FROM contacts
                   WHERE CompanyName LIKE 'har%'
                   AND country LIKE 'USA%'
                   AND state LIKE 'TX%'
                   AND Type in('motorcycle')
                   AND active = 1))
         OR (Franchise IN (SELECT Franchise
         FROM contacts
         WHERE Franchise LIKE 'har%'
              AND country LIKE 'USA%'
              AND state LIKE 'TX%'
              AND Type in('motorcycle')
              AND active = 1))
         OR (Category IN (SELECT Category
              FROM contacts
         WHERE Category LIKE 'har%'
                   AND country LIKE 'USA%'
                   AND state LIKE 'TX%'
                   AND Type in('motorcycle')
                   AND active = 1))
    ) a
    WHERE country LIKE 'USA%'
    AND state LIKE 'TX%'

  • Safari not working with Yosemite- incompatible with google search too

    Ever since I upgraded my macbook pro, Safari has been slow.  In the past 2 days, it's more than slow - it's impossible.  I am able to get to pages I have bookmarked or get to links in email documents - but every time I try to do a search using the search bar in Safari, it hangs.  Sometimes I get a list of possible websites (after a few minutes) but if I click on any of those, Safari just hangs there and won't go.  I even had to use Chrome in order to generate this question in the discussion groups. Does anyone have any suggestions other than using an alternate browser.   Is it possible that google and Safari on Yosemite are incompatible? I did try using the "Develop" menubar option and chose DuckDuckgo as the search tool and it worked a bit better.
    This is now the 2nd big issue I've had with Yosemite -- it totally would not work with my Adobe Photoshop Elements program -- I spent hours on the Adobe forums and discovered that 100s of others were also having issues.  It turned out to be a problem with Yosemite and the trackpad.  Adobe finally came up with a temporary plugin that allows Elements (and other Adobe programs) to run.
    Suggesions on Safari other than ditching it and using Chrome?

    Try a Safari reset.
    Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. Then try Safari/History/Show History and delete all history items.  Quit/reopen Safari and test. You can also try try Safari/Clear History and Web Site Data. The down side is it clears all cookies.Doing this may cause some sites to no longer recognize your computer as one that has visited the web site.

  • Hi, I have iPad 2, when I buy it it has old iOS. Then I update it now it has 5.1.1 iOS and modern firmware 4.12.01. After update my wifi is not working. Only searching for wifi. 3G working well. But wifi olso worked with old iOS. So what can do ? Pls

    Hi, I have iPad 2, when I buy it it has old iOS. Then I update it now it has 5.1.1 iOS and modern firmware 4.12.01. After update my wifi is not working. Only searching for wifi. 3G working well. But wifi olso worked with old iOS. So what can do ? Pls

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Yahoo music search bar not working with Firefox 5

    Yahoo music search bar not working with Firefox 5.

    go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Zoom -> click "Reset"
    -> go to View Menu -> Page Style -> select "Basic Page Style"
    -> go to View Menu -> Toolbars -> unselect "Yahoo! Music Search Bar"
    -> go Tools Menu -> Clear Recent History -> ''Time range to clear: '''select EVERYTHING''''' -> click Details (small arrow) button -> place Checkmarks on ALL Options -> click "Clear Now"
    -> go to Tools Menu -> Options -> General -> ''When Firefox starts : '''select "Show My Home Page"''''' -> Type the address of the website which you want to be your HomePage e.g. http:www.google.com -> click OK
    -> go to Tools Menu -> Options -> Privacy -> History section -> ''Firefox will: '''select "Use custom settings for history"''''' -> PLACE CHECKMARKS on:
    1) Remember my Browsing History
    2) Remember Download History
    3) Remember Search History
    4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from Last Option (CLEAR HISTORY WHEN FIREFOX CLOSES)
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select "Yahoo! Music Search Bar" and other unwanted search engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE "Yahoo! Music Search Bar extension" (add-on) and other Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • [svn:cairngorm3:] 21174: Landmark does not work under complex situations

    Revision: 21174
    Revision: 21174
    Author:   [email protected]
    Date:     2011-04-29 11:21:00 -0700 (Fri, 29 Apr 2011)
    Log Message:
    Landmark does not work under complex situations
    https://bugs.adobe.com/jira/browse/CGM-39
    Ticket Links:
        http://bugs.adobe.com/jira/browse/CGM-39
    Modified Paths:
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/core/EnterAndExi tInvoker.as
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/waypoint/Waypoin tHandler.as

    Hi John,
    1) I like that the new model adds parameterization. It's cleaner than pulling in parameters from pre-set variables. However, the given example didn't actually make much use of it. The only non-constant parameter multiply-used in the example is the "table" variable. Seems like a lot of work for not a lot of gain, at least in this case?
    2) I am cautious that this new template/model condenses the paradigm sooo much, that it is no longer clear where XPath is involved vs straight constant tag names. Yes, Adobe's example is overly-expanded but that's common in code meant to be a demonstration.
    3) I also am cautious that the example intermingles direct node creation into the XPath search/processing chain. I've learned to be VERY careful with this. It only can work when the changes made do not interfere with the rule processing. In my model, I simply avoid it completely (by not making node-position or node-add/remove/move changes until after tree parsing is complete.) This will always be a safe model.
    Bottom line: while I very much appreciate the parameterization and lintability (is that a word? Sure makes sense to me )... I think I would still define each rule separately rather than bring them all together as an inline array in the rule processing call. To me it seems sooo condensed that the XPath meaning can become lost. (Would someone recognize that //para/section-head is actually an XPath statement that could (in another situation) be //para/* or //para/following-siblings::* ... while some of the other strings are exact-match tag names?)
    I realize this is all a matter of style... my preference: clarity for the future reader, particularly when the future reader is me a year later who forgot what all those parameters and embedded methods were all about ...
    Blessings,
    Pete

Maybe you are looking for

  • Firefox does not work after update to 3.6.6 (and all later revisions)

    (EDIT: I found the exact revision from which the Firefox is not starting, it is 3.6.6 so I changed them throughout this post, previous revision value was 3.6.8) I am using Windows 7 x64 After Firefox recently updated to 3.6.6 it does not work any mor

  • Small Business Server 2011 Essentials failed lock bios on LSI MegaRaid 9260 8i on Gateway GT350 F1

    I had SBS 2011 Essentials on my Gateway GT350 F1 server setup in LSI MegaRaid 9260 8i Raid 1. I bought 2 x 900gb sas drives to replace the 2 x 300gb i have. When i try to install SBS 2011 Essentials i get a error message saying failed bios lock this

  • Archive DB mounts but can't access the data on the mailbox

    Hello, We had a dirty shut down. We tried the standard repair with mseutil but ended up having to use /p One archive mailbox does open but the other does not. We tried to repair that mailbox New-MailboxRepairRequest –mailbox usermailbox –corruptionty

  • UI: Opening Sales Order screen and loading with data

    Hi, I'm currently using the SDK to develop a new screenin SBO.  From my new screen I need to display the sales order screen with an order loaded into it.  I currently open the screen using the ActivateMenuItem methid, then use the sendKeys method to

  • Can't Sign in Adobe?

    Hey everyone, I've been trying to sign these forms to send to my employer but whenever I try to do so, it says I can't until I save them on my desktop. I save them, but I still can't sign the documents. I'm very frustrated and just want to sign them!