【发布时间】:2016-07-25 11:21:03
【问题描述】:
我正在尝试使用 XMLTYPE 在 ORACLE 中读取 XML。
当使用下面的 xml 时,我得到了消息 LPX-00210: expected '"' 而不是 '\'。
<?xml version=\"1.0\" encoding=\"utf-16\"?>
<arrayofaccesstoken xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">
<accesstoken>
<id>0</id>
<controller>fs</controller>
<view>fview</view>
<role>1000</role>
<rights>30</rights>
</accesstoken>
当第一条拖线时,代码工作得很好
<?xml version=\"1.0\" encoding=\"utf-16\"?>
<arrayofaccesstoken xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">
省略。
【问题讨论】: