|
.w源码如下:
<?xml version="1.0" encoding="utf-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window"
design="device:m;">
<div component="$UI/system/components/justep/model/model" xid="model"/>
<div id="allmap" style="width:100%;height:200px;"/>
<style>body,html,#allmap { width: 100%; height: 100%; overflow: hidden; margin: 0; } #golist { display: none; } @media ( max-device-width : 780px) { #golist { display: block !important; } } .anchorBL{ display:none; } #r-result,#r-result table{ width:100%; }</style>
<resource xid="resource">
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=我的秘钥"/>
<script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"/>
<script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"/>
</resource>
</div>
结果报错,怎么修改Caused by: com.justep.ui.exception.UIException: com.justep.ui.exception.ValidationException: line 9, column 78 of file:///D:/WeX5_3.8/model/UI2/society/app/dealer/baiduMap.w: Fatal error: The reference to entity "ak" must end with the ';' delimiter.
file:///D:/WeX5_3.8/model/UI2/society/app/dealer/baiduMap.w, line 9, column 78: Fatal error: The reference to entity "ak" must end with the ';' delimiter.
at com.justep.ui.xml.XMLUtils.inputSourceToSAX(Unknown Source)
at com.justep.ui.xml.XMLUtils.inputStreamToSAX(Unknown Source)
... 25 more
Caused by: com.justep.ui.exception.ValidationException: line 9, column 78 of file:///D:/WeX5_3.8/model/UI2/society/app/dealer/baiduMap.w: Fatal error: The reference to entity "ak" must end with the ';' delimiter.
file:///D:/WeX5_3.8/model/UI2/society/app/dealer/baiduMap.w, line 9, column 78: Fatal error: The reference to entity "ak" must end with the ';' delimiter.
at com.justep.ui.xml.XMLUtils$ErrorHandler.fatalError(Unknown Source)
at orbeon.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178)
at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:351)
at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:281)
at orbeon.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1459)
at orbeon.apache.xerces.impl.XMLScanner.scanAttributeValue(XMLScanner.java:831)
at orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:532)
at orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:181)
at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1654)
at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
at orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
... 27 more
|
|