由买买提看人间百态

topics

全部话题 - 话题: xalan
(共0页)
J********r
发帖数: 36
1
如题,我试着减少xsl里的代码,程序就能正常运行了,感觉是XSL文件里的代码太
长了,但是又不能减少。一直调试不出来。 Stack Trace如下:
javax.xml.transform.TransformerException: java.lang.
ArrayIndexOutOfBoundsException: -1
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:716)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:313)
at preorder.XslResponseProcessor.transformResponse(XslResponseProcessor.
java:81)
at preorder.webservice.invoker.IaEdiI... 阅读全帖
c***a
发帖数: 69
2
来自主题: XML版 - 有人使用JAXP吗?
在applet中使用JAXP, 用JBuilder时一切正常。
放在browser里运行(我使用的web server是jswdk提供的server),
在如下code:
Transformer transformer = tFactory.newTransformer();
出现
org.apache.xml.utils.WrappedRuntimeException: Stream closed
at org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(O
utputProperties.java:303)
at org.apache.xalan.templates.OutputProperties.(OutputProperties.java
at org.apache.xalan.transformer.TransformerIdentityImpl.(TransformerI
dentityImpl.java:104
b******s
发帖数: 25
3
Please contact:
Alex Melaik
Technical Engineering Recruiter
CATAPULT STAFFING, INC.
1820 Preston Park Blvd, Suite 1600, Plano, TX 75093
Office: 972-299-8809
Fax : 469-298-3473
Cell : 972-802-9627
A*********[email protected]
See below information from recruiter Alex. He said there are two very good
positions (senior software engineer) in Sugarland, TX. They are full time
positions in a global company with a salary range from 105-120K. Sugarland
has excellent elementary/middle/high scho... 阅读全帖
b******s
发帖数: 25
4
Please contact:
Alex Melaik
Technical Engineering Recruiter
CATAPULT STAFFING, INC.
1820 Preston Park Blvd, Suite 1600, Plano, TX 75093
Office: 972-299-8809
Fax : 469-298-3473
Cell : 972-802-9627
A*********[email protected]
See below information from recruiter Alex. He said there are two very good
positions (senior software engineer) in Sugarland, TX. They are full time
positions in a global company with a salary range from 105-120K. Sugarland
has excellent elementary/middle/high scho... 阅读全帖
z*******3
发帖数: 13709
5
这是apache的top projects
如果你能看懂,就知道开源在干嘛了
不过如果你是做os这种的,估计你看不懂这些是做啥的
这些社区都很活跃,版本号都在更新
Abdera Accumulo ActiveMQ Ant Aries Apache HTTP Server APR Avro Axis
Bloodhound Buildr Camel Cassandra Cayenne Chemistry Click CloudStack Cocoon
Continuum Cordova CouchDB cTAKES CXF Deltacloud Derby Directory Empire-db
Felix Flex Forrest Geronimo Gora Gump Hadoop Hama Hive HBase Isis Jackrabbit
James JMeter Kafka Lenya Mahout Marmotta Maven MINA mod_perl MyFaces ODE
OFBiz OpenEJB OpenJPA OpenNLP OpenOffice POI Pivot... 阅读全帖
p***n
发帖数: 635
6
来自主题: Java版 - MS SQL Server JDBC Driver Problem
I am using MS SQL SERVER JDBC DRIVER under Weblogic 7 to call an MS SQL Server
stored procedure. The stored procedure returns a xml string like this:

...
...
...

so far so good.
the problem comes up when there is some characters like "'" is contained in
the string, e.g.,
Let's go and have fun
Then the SP call returns some funky character which XALAN is not able to
parse.
Tried to execute the SP from SQL Server client and the result returned is
fine.
A
r*****s
发帖数: 985
7
very likely it is the jar file problem, even different versions may fail
the whole thing, especially with those xalan, xerces ...
tomcat main log at $CATALINA_HOME/logs/catalina.out
c*****t
发帖数: 1879
8
I mean in J2SE 1.4 and 1.5. Google always lead to Xalan, J2SE 6.0
or such...
thanks..
j******3
发帖数: 299
9
jnsong@ubuntu:~/lib$ echo $CLASSPATH
/home/jnsong/Downloads/htmlunit-2.11/lib/*.jar
In /etc/environment, I have
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
games"
export CLASSPATH="/home/jnsong/lib/*.jar"
in my .bashrc, I have
export CLASSPATH="/home/jnsong/Downloads/htmlunit-2.11/lib/*.jar"
in that lib folder, I have:
jnsong@ubuntu:~/Downloads/htmlunit-2.11/lib$ ls
commons-codec-1.7.jar jetty-http-8.1.7.v20120910.jar
commons-collections-3.2.1.jar jetty-io-... 阅读全帖
z*******3
发帖数: 13709
10
来自主题: Java版 - 本菜对EJB一问
hoho
忙了一个下午
总算把spring给整合上去了
spring很黑,居然xml配置文件的名字必需是mvc-dispatcher-servlet.xml
我换成spring-config.xml就出异常
而且是很恶心的异常,说少xalan.jar,我去下了之后再试,才出io异常
蛮好玩的,有点意思

DataStore
x*z
发帖数: 1010
11
来自主题: Linux版 - linux下有啥dvd->iso的软件么?
嘿嘿给你个idea
root@mee:~# apt-get install k9copy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
docbook-xsl docbook-xsl-doc-html dvdauthor kdebase-runtime
kdebase-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
kubuntu-debug-installer libattica0 libboost-filesystem1.42.0
libboost-regex1.42.0 libboost-system1.42.0 libclucene0ldbl libdbusmenu-qt2
libiodbc2 libkatepartinterfaces4 ... 阅读全帖
j*******r
发帖数: 201
12
ibm: xerces, xalan.
l*u
发帖数: 67
13
来自主题: XML版 - JAXP的PATH问题....
【 以下文字转载自 Java 讨论区 】
【 原文由 Lcu 所发表 】
path,path,又是path...:(
因为用弄一些和XML有关的东西,我要一个PARSER,我就DL了一个
JAXP 1.1, 我把它解压缩以后就放到了一个jaxp-1.1的目录里.
我根据它的INSTALLATION, 也需要UPDATE CLASSPATH VARIABLE,
我就在AUTOEXEC.BAT里加了这么一句:
set CLASSPATH =
.;c:\jaxp-1.1\jaxp.jar;jaxp-1.1\crimson.jar;jaxp-1.1\xalan.j
ar
在执行javac的时候没有问题,但是执行java就有一堆ERROR.
后来我在INSTALLATION又看见这么一段话:
To install these jar files as an extension of Java 2, copy
them to the $JAVA_HOME/jre/lib/ext directory. (The JAVA_HOME
directory is the one that contains
b****e
发帖数: 1275
14
来自主题: XML版 - JAXP的PATH问题....
for those lib files in ext you have to use the java.exe
under jre to run it..
also i think you should put xalan.jar in front of jaxp.jar
and crimson.jar.. i've had weird errors caused by this before
(running it from command line works fine but in servlet
mode i get all kinds of exceptions)
e***c
发帖数: 68
15
来自主题: XML版 - one simple question
Parser: SAX Parser->Event Drive
So you define the process when those element, space, attribute, etc happens.
DOM Parser->Node, easy for reading and writing.
So if you want to get the element from XML, if just once, SAX is fine. If you
want to modify it, maybe DOM is better, but it require more memory.
Check www.apache.org for detail.
DTD/schema defines the data type you defined in XML file. It confines the formate
t of XML file.
For parsers, xalan->parser+transformation
Xerecs->parser+schema+...
e***c
发帖数: 68
16
Whatever, use the latest version.
just go to www.apache.org to get tomcat
also copy those from Xerecs or Xalan jar
file to $CATALINE/common/lib
m******o
发帖数: 33
17
try a new xsl transformer. like xalan.
i*****t
发帖数: 220
18
Project: sending XML via socket using JAXP DOM
No compiling errors but exception errors while running.
Exceptions:
java.lang.NullPointerException
at org.apache.xml.utils.TreeWalker.dispatachChar(TreeWalker.java:275)
at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:419)
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:183)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
ormerIdentityImpl.java:325)
code part for create/send XML via socket:
DocumentBu
c********e
发帖数: 383
19
VC7, lots of waring and link erro. i think with vc6 with the crappy MS stl,
we need to write a stl port to do that.
but VC7 should be ok..
anyone met the same problem?
(共0页)