× Join the Stack and Retry Community
sarc.io is a community of engineers or programmers, just like you, helping each other.

MalformedByteSequenceException (XML 파싱할 때 에러가 납니다)

  • herogate
    (영웅문)
  • herogate's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
  • 고독한 개발자입니다.
더보기
25 Jan 2017 16:43 #1878 작성자: herogate
herogate 님의 글: MalformedByteSequenceException (XML 파싱할 때 에러가 납니다)
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1은(는) 1바이트 UTF-8 시퀀스에 대해 부적합한
바이트입니다.
        at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:701)
        at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:567)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1896)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XMLEntityScanner.java:1375)
        at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(XMLScanner.java:801)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(XMLDocumentFragmentScanner
Impl.java:1034)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocument
FragmentScannerImpl.java:2982)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScanne
rImpl.java:505)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
  • short3300
    (스벅오늘의커피)
  • short3300's Avatar
  • Offline
  • Junior
  • Junior
더보기
26 Jan 2017 19:46 #1890 작성자: short3300
short3300 님의 답글: MalformedByteSequenceException (XML 파싱할 때 에러가 납니다)
소스를 봐야 할 것 같은데 UTF-8 인코딩처리가 잘 안된 것 같습니다.
Time to create page: 0.116 seconds
Powered by Kunena Forum