Error trying to publish code in PDF
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Help needed. I get the error below, trying to publish as pdf in Matlab. My version is R2018a.
=============================================================
Error on line 37 column 139 of null:
Error reported by XML parser: An invalid XML character (Unicode: 0xb) 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: 37;
columnNumber: 139; An invalid XML character (Unicode: 0xb) 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: 37; columnNumber: 139; An invalid
XML character (Unicode: 0xb) 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: 37; columnNumber: 139; An invalid XML
character (Unicode: 0xb) 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 52)
NAME must be a character vector or string scalar.
>> matlabroot
ans =
'C:\Program Files\MATLAB\R2018a'
>>
0 commentaires
Réponses (1)
BhaTTa
le 30 Août 2024
@Chinonso Ovuegbe, refer to this MATLAB answer: https://www.mathworks.com/matlabcentral/answers/363977
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!