Hi Shunsuke,

Thanks.  I'll update the cvs as soon as I can.

neth
---- Begin Original Message ----

From: "Shunsuke Masuda" <[EMAIL PROTECTED]>
Sent: Wed, 24 Apr 2002 23:35:02 +0900
To: <[EMAIL PROTECTED]>
Subject: Loading saved test plans fails on W2K
(Japanese)


Hello,

I use the latest JMeter from CVS.

I can save �test plans as *.jmx , though I
cannot load them.
Stack trace on the console is:

***Parsing Fatal Error**
 Line: � 7
 URI:
 Message: Element type "LoopController" must be
followed by either attribute
spe
cifications, ">" or "/>".
org.xml.sax.SAXException: Fatal Error encountered
 � � � �at
org.apache.jmeter.save.xml.XmlHandler.fatalError
(XmlHandler.java:126)

 � � � �at
org.apache.xerces.framework.XMLParser.reportError
(XMLParser.java:1242
)
 � � � �at
org.apache.xerces.framework.XMLDocumentScanner.re
portFatalXMLError(XM
LDocumentScanner.java:579)
 � � � �at
org.apache.xerces.framework.XMLDocumentScanner.ab
ortMarkup(XMLDocumen
tScanner.java:628)
 � � � �at
org.apache.xerces.framework.XMLDocumentScanner.sc
anElement(XMLDocumen
tScanner.java:1800)
 � � � �at
org.apache.xerces.framework.XMLDocumentScanner$Co
ntentDispatcher.disp
atch(XMLDocumentScanner.java:1182)
 � � � �at
org.apache.xerces.framework.XMLDocumentScanner.pa
rseSome(XMLDocumentS
canner.java:381)
 � � � �at
org.apache.xerces.framework.XMLParser.parse
(XMLParser.java:1098)
 � � � �at
org.apache.jmeter.gui.action.Load.doAction
(Load.java:128)
 � � � �at
org.apache.jmeter.gui.action.ActionRouter.actionP
erformed(ActionRoute
r.java:94)
 � � � �at
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:14
50)
-------------
If I specify "encoding" as "Shift_JIS" in the
JMX file, no problem happens.

I assume the reason as that the FileWriter
writes with a platform's default
encoding
though the first line of JMX files ( actually
XML ) doesn't specify
encodings.

I've attached a quick fix which saves as UTF-8.

Regards,
Shunsuke Masuda






---- End Original Message ----



______________________________________________________________
For the latest news, go to http://www.asia1.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to