You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Brian Minchau <mi...@ca.ibm.com> on 2003/04/08 17:00:40 UTC

Re: Serializer changes and Build Failure - jakarta-taglibs-standard

Pierre,
no need to change your code for now.

In merging the serializer used by Xalan-J interpretive and the one used by
XSLTC we wanted to put the serializer in its own package which had no
dependancies on either Xalan or XSLTC (although the other direction is
fine). Otherwise, for example, XSLTC would depend on the serializer, which
would depend on Xalan-J, building an unwanted dependancy by XSLTC on
Xalan-J.

As of last evening there are changes in CVS that put the method

org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(String

method)
back.  It is marked as depricated and it simply calls the newer

org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties(String

method).
Other methods in org.apache.xalan.templates.OutputProperties are only used
within Xalan and are not intended to move in the future.

In addition other classes were put back in, although now just shells of
their former selves and marked as depricated:
        org.apache.xalan.serialize.DOMSerializer
        org.apache.xalan.serialize.Serializer
        org.apache.xalan.serialize.SerializerFactory

The ones to be used in the future are:
        org.apache.xml.serializer.DOMSerializer
        org.apache.xml.serializer.Serializer
        org.apache.xml.serializer.SerializerFactory



Brian Minchau
XSLT Development, IBM Toronto
e-mail:        minchau@ca.ibm.com



                                                                                                                         
                      Pierre Delisle                                                                                     
                      <Pierre.Delisle@S        To:       xalan-dev@xml.apache.org                                        
                      un.COM>                  cc:                                                                       
                                               Subject:  [Fwd: [GUMP] Build Failure - jakarta-taglibs-standard]          
                      04/06/2003 11:19                                                                                   
                      AM                                                                                                 
                      Please respond to                                                                                  
                      xalan-dev                                                                                          
                                                                                                                         
                                                                                                                         




Gump currently fails on jakarta-taglibs 'standard' because of a recent
change in
Xalan.

Our sample program of an XML filter calls
    org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties
("xml")
which has just been replaced by

org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties

"xml")

This recent change does not seem to be backward compatible with the latest
released
version of Xalan :-(

I'd appreciate if someone could give more details on that change
so we can adjust our code.
More specifically, is it that OutputProperties was not meant to be
used by client programs, and this is why this change is not
backwards compatible? Can we rely on OutputPropertiesFactory in the
future, or could it have the same fate as OutputProperties?

Thanks,

   -- Pierre

-------- Original Message --------
Subject: [GUMP] Build Failure - jakarta-taglibs-standard
Date: Sat, 05 Apr 2003 11:05:36 +0000
From: Ted Husted <te...@husted.com>
Reply-To: Tag Libraries Developers List <ta...@jakarta.apache.org>
To: taglibs-dev@jakarta.apache.org

----------------------------------------------------
This email is autogenerated from the output from:
<http://cvs.apache.org/builds/gump/2003-04-05/jakarta-taglibs-standard.html
>
----------------------------------------------------

Buildfile: build.xml

prepare:

checkRequiredFile:

checkRequired.fail:

checkRequiredFile:

checkRequired.fail:

checkRequiredFile:

checkRequired.fail:

checkJaxp12:

checkRequiredFile:

checkRequired.fail:

checkRequiredFile:

checkRequired.fail:

checkRequiredFile:

checkRequired.fail:

checkRequiredFile:

checkRequired.fail:

checkRequiredFile:

checkRequired.fail:
   [mkdir] Created dir: /home/rubys/jakarta/jakarta-taglibs/build
   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-doc
   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-doc/WEB-INF
   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-doc/WEB-INF/classes

   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-doc/WEB-INF/lib
   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-examples
   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-examples/WEB-INF

   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-examples/WEB-INF/classes

   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard-examples/WEB-INF/lib

   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard
   [mkdir] Created dir:
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard/META-INF
   [mkdir] Created dir: /home/rubys/jakarta/jakarta-taglibs/dist
   [mkdir] Created dir: /home/rubys/jakarta/jakarta-taglibs/dist/standard

library:
    [copy] Copying 15 files to
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard/META-INF
    [copy] Copying 4 files to
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard

compileJaxp12:
    [echo] java.home /usr/java/j2sdk1.4.1_02/jre
    [echo] xalan.jar /home/rubys/jakarta/xml-xalan/java/build/xalan.jar
   [javac] Compiling 323 source files to
/home/rubys/jakarta/jakarta-taglibs/build/standard/standard
   [javac]
/home/rubys/jakarta/jakarta-taglibs/standard/src/org/apache/taglibs/standard/extra/spath/SPathFilter.java:113:

cannot resolve symbol
   [javac] symbol  : method getDefaultMethodProperties (java.lang.String)
   [javac] location: class org.apache.xalan.templates.OutputProperties
   [javac]             (OutputProperties.getDefaultMethodProperties
("xml"));
   [javac]                              ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -deprecation for details.
   [javac] 1 error

BUILD FAILED
/home/rubys/jakarta/jakarta-taglibs/standard/build.xml:131: Compile failed;
see the compiler error output for details.

Total time: 13 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org