Solving - “A pseudo attribute name is expected” Error in JAXP 를 해결하는 - "가짜 속성 이름이 예상"라는 오류에 JAXP에있는
I was writing a xml data reader in Java using JDK’s inbuilt XML processing libraries (JAXP) when I persistently hit across this annoying exception with error message: A pseudo attribute name is expected. xml 데이터를 전 리더는 자바를 사용하여 작성하는 jdk의 붙박이 xml 처리 라이브러리 (JAXP에있는)를 통해 이러한 짜증나는 예외가 나는 오류 메시지를 지속적으로 hit : 가짜 속성 이름이 예상합니다. The error is displayed on the first line itself. 첫 번째 줄에 오류는 그 자체에 표시됩니다.
Google search wasn’t of much help. 구글 검색은 많은 도움이 아니합니다. I tried few suggestions, which were not of any use. 나는 몇 제안을 시도했던 모든 사용이 아니합니다. Then I noticed the obvious. 다음 분명한 것 같던데.
My xml instruction was: 내 xml 명령은 :
< ?xml version="1.0" > <? xml 버전 = "1.0">
It was a typo. 그것은 아니다. It should have been: 그것은 했어야 :
< ?xml version="1.0" ?> <? xml 버전 = "1.0"?>
Obviously the xml instruction was illegal. 확실히이 xml 계명은 불법적인합니다. However the error message was cryptic and gave no hint to the actual cause of the problem. 그러나 비밀을 준의 오류 메시지가 실제로 문제의 원인을 알아두기없습니다.
Filed under 밑에 How To 하는 방법을 , Java Software 자바 소프트웨어 , Tech Note 기술 참고 사항 | |
| |
RSS 2.0 rss 2.0 | |
Trackback 트랙백 this Article | 이 문서 |
Email this Article 전자 우편이 문서
You may also like to read 같은를 읽을 수있습니다 |




October 6th, 2006 at 8:40 am 2006년 10월 6일에서 오전 8시 40분
Thank you for your post. 귀하의 게시물을 주셔서 감사합니다. I got a similar error message from a webservice I was calling. 웹 서비스에서 유사한 오류 메시지가 있어요 전화했는데. “WebServicesFault … Error in line 1: pseudo attribute name is expected” "… webservicesfault에 오류가 라인 1 : 가짜 속성 이름이 예상"
xml was my third parameter, but I was calling a TPM web service and couldn’t find server-side trace so I had no indication that it was during xml parsing of my 3rd parameter. xml는 나의 세 번째 매개 변수, 그러나 나는 TPM 지원 웹 서비스를 호출하는 서버를 찾을 수없습니다 - 사이드 추적 그래서 표시가 없었다 구문 분석하는 동안은 내 제 3의 매개 변수를합니다.
Yours is the only post on the web that was useful. 당신이 게시물을 유일의 웹가 유용합니다. Without it it would’ve taking me a very long time to figure this one out. 그것없이는 매우 오랜 시간 경험하지 못할 정도로 데려가는 중 1 명이 문제를 해결합니다.
Thank you very much. thank you very much.
Ally 동맹
April 2nd, 2008 at 2:31 pm 2008년 4월 2일에서 오후 2시 31분
Thanks for the point Angsuman, exact issue with CF here and it solved the problem. 감사합니다 포인트 angsuman, 완전 cf 여기에 문제가이 문제와 그것을 해결합니다.
April 4th, 2008 at 2:45 am 2008년 4월 4일에서 오전 2시 45분
Happy to be of help. 행복에 도움이되고있습니다.
June 2nd, 2008 at 5:44 am 2008년 6월 2일에서 오전 5시 44분
Same as Mark here… thanks to you, now Google DOES help! 동일한 마크는 여기에… 감사합니다, 이제 구글이 도와주세요!