The processing instruction target matching "[xX][mM][lL]" is n...
博客分类: XML
The processing instruction target matching "[xX][mM][lL]" is not allowed.
Exception:org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
这个异常解释为:xml文件不能被解析,一般出现这样的问题在于xml格式上,并且问题多出现在xml文件的头部。我就是出现了这个问题。昨天还可以正常运行的,今天来了就运行不了了,很奇怪,查看了下错误信息,找到了原因。这是因为我的xml文件头部有两行空行,第三行才开始写
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
的。
总结:<?xml version="1.0" encoding="UTF-8"?>前面不要有任何其他字符,如空格、回车、换行这些否则就会出现上面的异常。
分享到:
相关推荐
Latex tikz/pgf instruction
伯克利大学开源处理器 http://riscv.org/ The RISC-V Instruction Set Manual
The stylesheet is specified using the Processing Instruction <?xml-stylesheet type="text/xsl" href="URL-OF-YOUR-STYLESHEET"?> or now new <?xslt-stylesheet agent="THE-USER-AGENT-STRING-OF-...
MIPS® Architecture For Programmers Volume II-A: The MIPS64® Instruction Set
"Digital Signal Processing" is a mathematically rigorous but accessible treatment of digital signal processing that intertwines basic theoretical techniques with hands-on laboratory instruction....
XML编程技术和实例.XML处理器会将开始标记和结束标记之间的出现的字符数据,包括可见和非可见字符视为...在XML1.0及其以后版本中,以“xml”、“XML”开头的处理指令为保留指令,不能任意的用于自己编写的处理指令中。
Although this is not the only astrology book that your library will ever need, it is still a valuable title that should be strongly considered. Woolfolk, the horoscope columnist for Marie Claire and ...
VTD-XML instruction.
The RISC-V Instruction Set Manual
This paper examines XML and Electronic Data Interchange (EDI) to see how XML can be used for EDI.
The instruction selector is responsible of transforming an input program from its target-independent representation into a target-specific form by making best use of the available machine ...
The RISC-V Instruction Set Manual Volume I-Unprivileged ISA V20180801-draft
After the last instruction is executed, the investigation stops (but does not terminate). When Sherlock executes an investigation Continuously (run continuously), each instruction in the Main ...
The RISC-V Instruction Set Manual Volume II: Privileged Architecture Document Version 1.12-draft
The MIPS32 Instruction Set 详细介绍了MIPS指令
Given its origins, Processing enables a multimodal approach to programming instruction, well suited to students with interests in computer science or in the arts and humanities. The book uses ...
style manual, the book gives graphic and web designers, artists, and illustrators of all stripes a jumpstart on working with the Processing programming environment by providing instruction on the ...
The LPC546xx is a family of ARM Cortex-M4 based microcontrollers for embedded applications featuring a rich peripheral set with very low power consumption and enhanced debug features. The ARM Cortex-...
The 80x86 MOV Instruction 4.8 - Some Final Comments on the MOV Instructions <br>4.9 Laboratory Exercises 4.9.1 The UCR Standard Library for 80x86 Assembly Language Programmers 4.9.2 ...
These instructions provide indexed DCR accesses where the address of the DCR is taken from the contents of a specified register rather than being hard coded in the instruction. This permits DCR ...