Error when trying to publish PDF

조회 수: 12 (최근 30일)
Mark
Mark 2018년 7월 21일
답변: BhaTTa 2024년 8월 30일
Hello All,
I receive the following error when trying to publish my .m file to a PDF:
Error on line 38 column 137 of null: Error reported by XML parser: An invalid XML character (Unicode: 0xe) was found in the element content of the document. Error using xslt (line 90) Java exception occurred: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; lineNumber: 38; columnNumber: 137; An invalid XML character (Unicode: 0xe) was found in the element content of the document.
at com.icl.saxon.om.Builder.build(Builder.java:273)
at com.icl.saxon.Controller.transform(Controller.java:977)
Caused by: org.xml.sax.SAXParseException; lineNumber: 38; columnNumber: 137; An invalid XML character (Unicode: 0xe) was found in the element content of the document.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.icl.saxon.om.Builder.build(Builder.java:265)
... 1 more
---------
org.xml.sax.SAXParseException; lineNumber: 38; columnNumber: 137; An invalid XML character (Unicode: 0xe) was found in the element content of the document.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.icl.saxon.om.Builder.build(Builder.java:265)
at com.icl.saxon.Controller.transform(Controller.java:977)
Error in publish
Error in publish
Error in mdbpublish (line 55) outputPath = publish(file, options);
Error using open (line 51) NAME must contain a single character vector.
>>
Background:
I am using a third-party toolbox for this. Also, I have another .m file that was able to be successfully saved to a .pdf (uses the same third-party toolbox).
What gives?

답변 (1개)

BhaTTa
BhaTTa 2024년 8월 30일

카테고리

Help CenterFile Exchange에서 Structured Data and XML Documents에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by