special characters is not allow in xml file in asset folder in Android

后端 未结 2 670
陌清茗
陌清茗 2020-12-12 06:35

How to well formed in xml file in Asset folder in Android.org.apache.harmony.xml.ExpatParser$ParseException: At line 19, column 24:not well-formed (invalid token) at org.apa

相关标签:
2条回答
  • 2020-12-12 07:26

    The code snippet contains < which is also the XML metacharacter for starting a tag.

    Either replace < with &lt; or wrap the code in unparsed CDATA block:

    <![CDATA[ ... ]]>
    
    0 讨论(0)
  • 2020-12-12 07:31
     i=0 j=2
     i=0 j=1
     i=1 j=2
    

    ;-).

    0 讨论(0)
提交回复
热议问题