Closed Bug 134966 Opened 24 years ago Closed 24 years ago

Assertion in UTF8InputStream::Fill()

Categories

(Core :: XPCOM, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: hjtoi-bugzilla, Assigned: alecf)

Details

Save these two files to local fisc (I hope foo.dtd came ok, if not I'll upload), placing foo.dtd in the well-known DTD location. Then open the XML file and you'll hit the assertion. foo.dtd, place this in dist/bin/res/dtd: <!ENTITY bar "· doh"> <!-- notice the above dot is not period (.) --> foo.xml: <!DOCTYPE foo SYSTEM "foo.dtd"> <foo/>
it sounds like the .dtd file is not in proper UTF8 - the assertion would seem to indicate that your file claimed there was a multi-byte UTF8 string, but the number of claimed bytes were not there. In fact, it looks like the DTD you posted has an 8-bit character, which would imply that that character is a part of a multi-byte string, even though the character itself is only one byte. This would imply that your document is not UTF8 or even ASCII. I'm going to mark this INVALID, because it looks like user-error.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Summary: Assertion in UTF8InputStream::Fill() → Assertion in UTF8InputStream::Fill()
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.