2
嗨發現我有,我裝載兩個標記庫JSP文件:org.xml.sax.SAXParseException:無效的XML字符(Unicode:0x1b)是在CDATA部分
taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"
我得到一個錯誤:
org.apache.jasper.JasperException: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1b) was found in the CDATA section.
的原因是這一行:
var enabledLoginCharacters = /^[\w \. \- \! \" \§ \$ \% \& \/ \(\) \= \? \* \+ \# \< \> \, \; \: \@]*$/;
我怎麼可以重寫這一行,所以它不會造成XML錯誤?