Re: [xsl] element selection based on attribute value not working - xsl, fop, pdf

Subject: Re: [xsl] element selection based on attribute value not working - xsl, fop, pdf
From: vinod.agarwal@xxxxxxxxxxxxxx
Date: Fri, 19 Sep 2003 15:14:45 +0200
Hi David,
      The attribute PURPOSE was in UPPER-CASE in my source XML. I was
careful enough to
catch such primitive level bugs while coding, which generally consumes a
lot of time in fixing otherwise.

However, I never knew that the code will behave in such a way when
deployed/run in VisualAge (VAJ) test environment
or WepSphere App Server environment.

My surprise is that why the same code with same environment (i.e. in VAJ)
is running fine with my standalone Java application ?
i.e. running in the main() method of the java application.

Vinod Agarwal.

David Carlisle <davidc@xxxxxxxxx> on 09/19/2003
02:53:19 PM

Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx

Sent by:    owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx

To:    xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:    Re: [xsl] element selection based on attribute value not
       working - xsl, fop, pdf

   The reason is the attribute was in
  UPPER-CASE, i.e. PURPOSE='PHONE' doesn't work in the WebSphere
  Server deployed XSLT
  and FOP code. The moment I made it "purpose = 'phone'" it started working
  with my original approach.

  This is really some ridiculous internal bug of either the JDK in VAJ/ WAS
  or java implementation of Xalan or
  FOP or SAX implementation of Xalan java processor.

Is the attribute PURPOSE or purpose in your source XML?
if it is purpose then  @PURPOSE='PHONE' should not match, that is not a


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

 XSL-List info and archive:

 This message (including any attachments) is confidential and may be
 privileged. If you have received it by mistake please notify the sender by
 return e-mail and delete this message from your system. Any unauthorised
 use or dissemination of this message in whole or in part is strictly
 prohibited. Please note that e-mails are susceptible to change.
 ABN AMRO Bank N.V. (including its group companies) shall not be liable for
 the improper or incomplete transmission of the information contained in
 this communication nor for any delay in its receipt or damage to your
 system. ABN AMRO Bank N.V. (or its group companies) does not guarantee
 that the integrity of this communication has been maintained nor that this
 communication is free of viruses, interceptions or interference.

 XSL-List info and archive:

Current Thread