https://issues.apache.org/bugzilla/show_bug.cgi?id=52508
Bug #: 52508
Summary: XSD Schema assertion fails with special characters
Product: JMeter
Version: 2.5.1
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Hello,
XSD Schema assertion is a very interesting feature.
The problem is that it fails with special characters in the XML response to
test, saying "fatal: line=1 col=1 Content is not allowed in prolog.". My XML
sample is below.
Inside
jakarta-jmeter-2.5.1:org.apache.jmeter.assertions.XMLSchemaAssertion.getResult(SampleResult
response) I can see: "// TODO - charset?".
Do you think the charset management could be improved in a future release?
Thank you.
Lionel
XML sample producing the error:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response>
[...]
<longDescription>
Différents caractères du monde entier :
- latins modifiés
Voyelles
ă ǎ ã ā ą ẵ a æ å ǻ a̤̐ ĕ ě ẽ ē ė ę ḗ ǝ
ǝ̄ ĭ ǐ ĩ ī į ḭ ŏ ǒ õ ō ǫ ṏ ŭ ǔ ũ ū ų u̯ ů ỹ y˞
Consonnes
bʱ č ć ç ḍ ð ǵ ģ ħ ḥ ḫ ƕ ǰ ḱ ḵ ķ l̥ ļ ṇ ń ṅ
ņ ň ñ ŋ ł ṁ m̥ n̥ pˀ r̥ ř ŕ ṙ ṣ š ś ṭ þ ẋ ź ż ž
-
</longDescription>
[...]
</response>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.