You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/07/10 21:42:04 UTC
DO NOT REPLY [Bug 21478] New: -
Missing resource during serialization
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21478
Missing resource during serialization
Summary: Missing resource during serialization
Product: Xerces2-J
Version: 2.4.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Serialization
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: cebert@pocketthis.com
I don't know if this is Xerces not having the resource, or Xalan having the
wrong key, but when I try to serialize a template I get:
java.util.MissingResourceException: Can't find resource for bundle
org.apache.xalan.res.XSLTErrorResources, key ER_FUNCTION_NOT_SUPPORTED
at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
at java.util.ResourceBundle.getObject(ResourceBundle.java:311)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at org.apache.xml.res.XMLMessages.createMsg(XMLMessages.java:152)
at org.apache.xalan.res.XSLMessages.createMessage(XSLMessages.java:95)
at
org.apache.xalan.templates.ElemTemplateElement.error(ElemTemplateElement.java:294)
at
org.apache.xalan.templates.ElemTemplateElement.error(ElemTemplateElement.java:309)
at org.apache.xml.utils.UnImplNode.getDoctype(UnImplNode.java:813)
at
org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(BaseMarkupSerializer.java:1252)
at
org.apache.xml.serialize.BaseMarkupSerializer.serialize(BaseMarkupSerializer.java:501)
at
com.pocketthis.util.xml.AbstractDocumentBuilder.serializeDomToStream(AbstractDocumentBuilder.java:27)
at com.pocketthis.util.xml.XSLDocumentBuilder.serialize(XSLDocumentBuilder.java:60)
at
com.pocketthis.util.xml.RemoteObjectSource.updateCache(RemoteObjectSource.java:68)
at com.pocketthis.util.xml.RemoteObjectSource.getObject(RemoteObjectSource.java:39)
at com.pocketthis.util.xml.RemoteXSLSource.newTransformer(RemoteXSLSource.java:31)
at
com.pocketthis.util.xml.RemoteXSLSourceTest.testNoteActions(RemoteXSLSourceTest.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:393)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:277)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:168)
My XML environment:
Lib: C:/j2sdk1.4.2/jre/lib/endorsed/xalan.jar Version: Xalan Java 2.5.1
Lib: C:/j2sdk1.4.2/jre/lib/endorsed/xalan.jar Version: Xalan Java 2.5.1
Lib: C:/dev/pocketapi-mainline/lib/xercesImpl.jar Version: Xerces-J 2.4.0
Lib: C:/dev/pocketapi-mainline/lib/xml-apis.jar Version: XmlCommons 1.0
Java version: 1.4.2
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org