Referring to a local DTD in Java

前端 未结 4 552
借酒劲吻你
借酒劲吻你 2021-01-04 20:15

I have some XML that I\'m parsing with a SAX parser in Java. It starts with this preamble:



        
4条回答
  •  情歌与酒
    2021-01-04 20:51

    The solution is to provide the DTD file location in the system using classpath. So the DocType that worked offline would be:

    
    

提交回复
热议问题