<?IS10744:arch xhtml ... ?>
Added by Anonymous over 15 years ago
Legacy ID: #7400294 Legacy Poster: Peter B. West (pbw)
I'm trying to transform an XHTML file generated by OpenOffice from an original Word document. OO incudes the following PUBLIC declaration. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"> The DTD http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd contains the following: <?IS10744:arch xhtml public-id = "-//W3C//NOTATION AFDR ARCBASE XHTML 1.1//EN" dtd-public-id = "-//W3C//DTD XHTML 1.1//EN" dtd-system-id = "xhtml11.dtd" doc-elem-form = "html" form-att = "html" renamer-att = "htnames" suppressor-att = "htsupp" data-ignore-att = "htign" auto = "ArcAuto" options = "HtModReq HtModOpt" HtModReq = "Framework Text Hypertext Lists Structure" HtModOpt = "Standard" ?> Saxon 9b (via Oxygen 10.2) objects fatally to IS10744:arch. Is there a way to circumvent this within Saxon? Peter
Replies (3)
Please register to reply
RE: <?IS10744:arch xhtml ... ?> - Added by Anonymous over 15 years ago
Legacy ID: #7400307 Legacy Poster: Peter B. West (pbw)
On closer inspection, it looks as though the validation is being done with Xerces. Peter
RE: <?IS10744:arch xhtml ... ?> - Added by Anonymous over 15 years ago
Legacy ID: #7400309 Legacy Poster: Peter B. West (pbw)
On even closer inspection, both Xerces and Saxon report this error. Peter
RE: <?IS10744:arch xhtml ... ?> - Added by Anonymous over 15 years ago
Legacy ID: #7400412 Legacy Poster: Michael Kay (mhkay)
Processing instruction names containing a colon are illegal according to the namespace recommendation. Therefore, if namespace processing is switched on, all conformant XML parsers will reject this. There's nothing you can do about this at the Saxon level.
Please register to reply