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 2001/03/30 13:57:14 UTC

[Bug 1157] New - Cannot parse Chinese

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1157

*** shadow/1157	Fri Mar 30 03:57:14 2001
--- shadow/1157.tmp.15945	Fri Mar 30 03:57:14 2001
***************
*** 0 ****
--- 1,38 ----
+ +============================================================================+
+ | Cannot parse Chinese                                                       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1157                        Product: Xerces-J                |
+ |       Status: NEW                         Version: unspecified             |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows 9x              |
+ |     Priority: Medium                    Component: DOM                     |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-j-dev@xml.apache.org                                  |
+ |  Reported By: ch@wherever.net                                              |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ If I have Chinese character in the fields. 
+ It will have the following error.
+ C:\XML\Sample\xmlbook\samples4v2\chap2>java -cp .;c:\XML4J-3_1_1\xerces.jar;c:\X
+ ML4J-3_1_1\xercesSamples.jar SimpleParse department.xml
+ [Fatal Error] department.xml:21:13: The element type "name" must be terminated b
+ y the matching end-tag "</name>".
+ org.xml.sax.SAXParseException: The element type "name" must be terminated by the
+  matching end-tag "</name>".
+         at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1016
+ )
+         at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
+ LDocumentScanner.java:634)
+         at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumen
+ tScanner.java:683)
+         at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
+ atch(XMLDocumentScanner.java, Compiled Code)
+         at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
+ canner.java, Compiled Code)
+         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
+         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:947)
+         at dom.wrappers.DOMParser.parse(DOMParser.java:111)
+         at SimpleParse.main(SimpleParse.java:18)
+ CH Huang

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org