Solving - “A pseudo attribute name is expected” Error in JAXP Resolver - "pseudo Um atributo nome é esperado" Erro na 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. Eu estava escrevendo um leitor dados XML em Java usando JDK's inerente bibliotecas processamento XML (JAXP) quando eu persistentemente atingida em toda esta aborrecido com excepção mensagem de erro: Um atributo pseudo nome é esperado. The error is displayed on the first line itself. O erro é exibida na primeira linha em si.
Google search wasn’t of much help. A pesquisa do Google não foi de grande ajuda. I tried few suggestions, which were not of any use. Eu tentei algumas sugestões, que não eram de qualquer utilização. Then I noticed the obvious. Então eu observei o óbvio.
My xml instruction was: Meu XML instrução foi:
< ?xml version="1.0" > <? Xml version = "1,0">
It was a typo. Foi um erro tipográfico. It should have been: Ela deveria ter sido:
< ?xml version="1.0" ?> <? Xml version = "1,0"?>
Obviously the xml instruction was illegal. É evidente que o xml instrução era ilegal. However the error message was cryptic and gave no hint to the actual cause of the problem. No entanto a mensagem de erro foi crítico e deu nenhuma dica para a verdadeira causa do problema.
Filed under Arquivado em How To How To , De Java Software Java Software , De Tech Note Nota Tech | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artigo |
Email this Article E-mail este artigo
You may also like to read Você pode também gosta de ler |




October 6th, 2006 at 8:40 am 6 Oct, 2006 em 8:40 am
Thank you for your post. Obrigado pelo seu post. I got a similar error message from a webservice I was calling. Recebi uma mensagem de erro semelhante a partir de um web fui chamada. “WebServicesFault … Error in line 1: pseudo attribute name is expected” "WebServicesFault… Erro na linha 1: pseudo atributo nome é esperado"
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 foi o meu terceiro parâmetro, mas eu era uma chamada TPM web serviço e não podia encontrar o servidor do lado da vestígios assim que eu tinha qualquer indicação de que foi durante xml parsing do meu 3o parâmetro.
Yours is the only post on the web that was useful. Seu é o único lugar na web que foi útil. Without it it would’ve taking me a very long time to figure this one out. Sem que isso tenha me levando muito tempo para um valor presente para fora.
Thank you very much. Muito obrigado.
Ally
April 2nd, 2008 at 2:31 pm 2 de abril de 2008, 2:31 pm
Thanks for the point Angsuman, exact issue with CF here and it solved the problem. Graças ao ponto Angsuman, exato questão com FC, aqui e ele resolveu o problema.
April 4th, 2008 at 2:45 am 4 de abril de 2008, 2:45 am
Happy to be of help. Feliz a ser de ajuda.
June 2nd, 2008 at 5:44 am 2 de junho, 2008, 5:44 am
Same as Mark here… thanks to you, now Google DOES help! É a mesma coisa que aqui Mark… graças a você, agora, o Google ajuda!