Referring to a local DTD in Java

前端 未结 4 459
借酒劲吻你
借酒劲吻你 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 21:04

    Also another way can be to keep the dtd at the localhost so that the final path becomes something like:

    
    

    Definitely not the most elegant solution but surely does work.

提交回复
热议问题