Error the processing instruction target matching xx mm ll is not allowed

When importing an xml file, you receive the following error: Error parsing the document. The processing instruction target matching "[xX][mM[lL]" is not allowed.

Question

When importing an xml file, you receive the following error:
Error parsing the document.
The processing instruction target matching «[xX][mM[lL]» is not allowed.

Answer

When importing an xml file into Maximo, you may receive the following error:

An unknown error has occurred.
Please contact your system administrator for assistance.
Error parsing the document.
The processing instruction target matching «[xX][mM][lL]» is not allowed.

Solution:

Edit your xml file using a text editor. At the very beginning of the first line, look for and delete any leading spaces.

The following first line of the xml must not have any spaces or characters before the first «<» in the line.

<?xml version=»1.0″ encoding=»UTF-8″?>

Try the import again.

[{«Product»:{«code»:»SSLKT6″,»label»:»IBM Maximo Asset Management»},»Business Unit»:{«code»:»BU055″,»label»:»Cognitive Applications»},»Component»:»MEA: Generic»,»Platform»:[{«code»:»PF025″,»label»:»Platform Independent»}],»Version»:»7.5;7.6″,»Edition»:»»,»Line of Business»:{«code»:»LOB59″,»label»:»Sustainability Software»}},{«Product»:{«code»:»SSLKYL»,»label»:»Maximo Enterprise Adapter»},»Business Unit»:{«code»:»BU059″,»label»:»IBM Software w/o TPS»},»Component»:»Not Applicable»,»Platform»:[{«code»:»»,»label»:»»}],»Version»:»»,»Edition»:»»,»Line of Business»:{«code»:»LOB59″,»label»:»Sustainability Software»}}]

I am starting to learn more about SOAP and XML in ColdFusion. Until now, I just haven’t had much use of it. But now, I am dealing with web services that require SOAP requests and responses. Heck, I didn’t even realize that ColdFusion has built in SOAP functions. But that’s beside the point. I was trying to use the CFXML to create an XML object when I kept getting this error: ( The processing instruction target matching «[xX][mM][lL]» is not allowed ).

This error couldn’t be less obvious. Luckily, after some quick googling I found the answer. Well, maybe not the answer, but a solution. It had to do with the document type declaration at the top: It was not the very first thing in the document — white space was. To fix this, I had to change the tag layout a bit to make the doc type come first:

<cfxml variable="REQUEST.Response"
	><?xml version="1.0" encoding="UTF-8"?>
	<soap:Envelope
	...
	...
</cfxml>

As you can see, I wrap the end «>» of the CFXML tag to the next line so that there is no white space between it and the «<?» of the document type declaration. Another solution to this would be to do a CFSaveContent and then do a CFXml on the Trim() of that variable. Or even perhaps XmlParse on the Trim() of it.

No matter what, it’s fun to be getting in to the SOAP stuff. I am working on a ColdFusion solution for the XStandard WYSIWYG editor. I thought the XStandard editor was cool before but now, I am really seeing how amazing powerful and yet flexible it is.

Want to use code from this post?
Check out the license.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!

Содержание

  1. The Processing Instruction Target Matching «[xX][mM][lL]» is Not Allowed
  2. You Might Also Enjoy Some of My Other Posts
  3. Reader Comments
  4. The processing instruction target matching «[xX][mM][lL]» is not allowed #798
  5. Comments
  6. The processing instruction target matching «[xX][mM][lL]» is not allowed.
  7. Best Answer
  8. Ошибка: недопустимо совпадение с целевым значением инструкции обработки «[xX] [mM] [lL]»
  9. Чтобы исправить проблему, проверьте следующие возможности:

The Processing Instruction Target Matching «[xX][mM][lL]» is Not Allowed

I am starting to learn more about SOAP and XML in ColdFusion. Until now, I just haven’t had much use of it. But now, I am dealing with web services that require SOAP requests and responses. Heck, I didn’t even realize that ColdFusion has built in SOAP functions. But that’s beside the point. I was trying to use the CFXML to create an XML object when I kept getting this error: ( The processing instruction target matching «[xX][mM][lL]» is not allowed ).

This error couldn’t be less obvious. Luckily, after some quick googling I found the answer. Well, maybe not the answer, but a solution. It had to do with the document type declaration at the top: It was not the very first thing in the document — white space was. To fix this, I had to change the tag layout a bit to make the doc type come first:

As you can see, I wrap the end «>» of the CFXML tag to the next line so that there is no white space between it and the » ❤️ Share the Love With Your Friends! ❤️

You Might Also Enjoy Some of My Other Posts

Thx that’s help me to

No problem my man. Please feel free to contact me directly if you ever are stumped on a problem.

Thanks for the information.
Really helped me a lot. I had unknowingly added blank space at the start of » «
line in my web.xml file of the Tomcat server.

Saved alot of time.

An easier method is to simply use the ‘trim’ function 🙂

True, Trim() is good so long as you have a stored XML string such as one stored via the CFSaveContent tag. However, this would require one extra step (the creation of the string THEN the parsing of it). But just taking out the white space in the beginning you can create AND parse the string in one step.

Both good options, especially depending on where you get the XML string from.

I got the same error when I modified a common xml document in Eclipse.
Finally I fixxed it by removing the leading space of the first line.

thanks for that, I had a comment at the start of my XML file and got this error, you just saved me a load of time.

Thanks a lot.. first thing when i got this error was to google and find out the solution..
finding out the white space would have consumed a lot of time.
Thanks.

Ben, thanks for the post. I ran into the exact same error last night because I mistakenly placed a comment before the XML declaration. When I went to Google for assistance, it was nice to see someone I know pop up at the top of the list. 😉

Glad to help. Missed you at CFUNITED, my man.

Heh. *Someone* had to work that week! 😉

Ha ha, thanks for taking one for the team 🙂

Why don’t Adobe do the trimming of CR’s etc as part of the function invocation.

That’s not a bad idea. That would be cool as part of XmlParse().

Thanks, helped me to quickly fix this issue (and move on to the next one . ).

Hey that did the trick. And I’m way off ColdFusion BTW (Doing some EJB over NB).

thanks a lot.. Really its a superb post. Got stuck from 2 hours, After seeign this sloved in few seconds..

You rock! This is the 2nd stumper you have solved for me this week! Keep on blogging.

Thank you thank you! these are the small things that can eat your whole day, or make it — in this case you just made mine much easier!

It can happens even if you have more than one prolog in the same xml
so remove all » » after the first!!

I concur with @Massimiliano. I ran into this last week. I generate temporary XML files with randomized names. The directory filled up and some of the «randomly named» files were reused, and the files were getting appended to. So there were basically two, well-formed xml bodies in one document. This was the error I got.

Interesting guys; I never thought of that case scenario. Thanks for pointing it out.

Thanks for your Help .

It works for me ..

This was something I never knew with XMLs, until I read your post! Thanks a lot! Helped me!

I came across your post after pulling out most of my hair.
Thanks for this post, you saved the last few strands. It works fine now :o))

@Niraj, @Prashanth, @JB,

Awesome! That’s great to know this is still helping people.

I know this is an old post but saved me a ton of frustration today!

Источник

The processing instruction target matching «[xX][mM][lL]» is not allowed #798

Looks like I am seeing an error related to #758 . any idea what is causing this?

Failed to auto configure default logger context
Reported exception:
ch.qos.logback.core.joran.spi.JoranException: Problem parsing XML document. See previously reported errors.
at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:67)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:134)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.allanbank.mongodb.util.log.Slf4jLogFactory.doGetLog(Slf4jLogFactory.java:103)
at com.allanbank.mongodb.util.log.LogFactory.getLog(LogFactory.java:52)
at com.allanbank.mongodb.Version.(Version.java:73)
at com.allanbank.mongodb.builder.BatchedWrite.(BatchedWrite.java:94)
at com.yahoo.ycsb.db.AsyncMongoDbClient.(AsyncMongoDbClient.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at com.yahoo.ycsb.DBFactory.newDB(DBFactory.java:40)
at com.yahoo.ycsb.Client.main(Client.java:1058)
Caused by: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 6; The processing instruction target matching «[xX][mM][lL]» is not allowed.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:61)
. 28 more
09:02:08,385 |-INFO in ch.qos.logback.classic.LoggerContext[default] — Could NOT find resource [logback.groovy]
09:02:08,385 |-INFO in ch.qos.logback.classic.LoggerContext[default] — Could NOT find resource [logback-test.xml]
09:02:08,385 |-INFO in ch.qos.logback.classic.LoggerContext[default] — Found resource [logback.xml] at [jar:file:/home/tvoellm/ycsb-0.10.0/mongodb-binding/lib/mongodb-binding-0.10.0.jar!/logback.xml]
09:02:08,394 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@ 6f75e72 — URL [jar:file:/home/tvoellm/ycsb-0.10.0/mongodb-binding/lib/mongodb-binding-0.10.0.jar!/logback.xml] is not of type file
09:02:08,418 |-ERROR in ch.qos.logback.core.joran.event.SaxEventRecorder@ 69222c1 — XML_PARSING — Parsing fatal error on line 17 and column 6 org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 6; The processing instruction target matching «[xX][mM][lL]» is not allowed.
at org.xml.sax.SAXParseException: The processing instruction target matching «[xX][mM][lL]» is not allowed.
at at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
at at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
at at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
at at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPIData(XMLScanner.java:723)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanPIData(XMLDocumentFragmentScannerImpl.java:1019)
at at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPI(XMLScanner.java:691)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:912)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
at at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:61)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:134)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
at at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265)
at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at at java.lang.reflect.Method.invoke(Method.java:498)
at at com.allanbank.mongodb.util.log.Slf4jLogFactory.doGetLog(Slf4jLogFactory.java:103)
at at com.allanbank.mongodb.util.log.LogFactory.getLog(LogFactory.java:52)
at at com.allanbank.mongodb.Version.(Version.java:73)
at at com.allanbank.mongodb.builder.BatchedWrite.(BatchedWrite.java:94)
at at com.yahoo.ycsb.db.AsyncMongoDbClient.(AsyncMongoDbClient.java:105)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at at java.lang.Class.newInstance(Class.java:442)
at at com.yahoo.ycsb.DBFactory.newDB(DBFactory.java:40)
at at com.yahoo.ycsb.Client.main(Client.java:1058)

2016-07-08 09:02:08:468 0 sec: 0 operations; est completion in 0 seconds

The text was updated successfully, but these errors were encountered:

I’m using Java8
YCSB 0.10.0
mongodb-client/server 2.4.9
mongodb-org-shell 3.2.4

Источник

The processing instruction target matching «[xX][mM][lL]» is not allowed.

I am getting below error when I test below soap request from SOAPUI. It is OTB AdminSmokeTestIO. There is no blank space in xml prolog. Please help. My OPA version is 10.4.4.

16:27:49,851 ERROR [http-8080-1] ERROR com.oracle.determinations.server.plugins.IntegratedObjectCustomServicePlugin — ParseError at [row,col]:[1,320]

Message: The processing instruction target matching «[xX][mM][lL]» is not allowed.

javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,320]

Message: The processing instruction target matching «[xX][mM][lL]» is not allowed.

01/01/1980 08:00:00 Siebel 0-1 Administrator SADMIN

01/01/1980 08:00:00 Siebel 0-1 Administrator SADMIN

Best Answer

I think you problem might be the encoding of the XML in the and elements.

This data is of type «string» and cannot contain any XML elements.When passed from Siebel the contents of these elements is encoded XML, so it actually looks like the following

01/01/1980 08:00:00 Siebel 0-1 Administrator SADMIN

This is the same for the contents of the element is encoded XML.

I am guessing that you captured the request using a tool like tcpmon. What ever tool you used may have simplified the request to make it a little more readable and un-encoded the contained XML. You should look at the request in its raw form when capturing it using these sorts of tools.

Источник

Ошибка: недопустимо совпадение с целевым значением инструкции обработки «[xX] [mM] [lL]»

Соответствие цели инструкции обработки «[xX] [мМ] [lL]» не допускается

происходит всякий раз, когда я запускаю страницу XSLT, которая начинается следующим образом:

Примечание : я удалил все пробелы перед первой строкой, но ошибка все еще происходит!

Инструменты на основе Xerces выдают следующую ошибку

когда декларация XML встречается где-либо, кроме как в верхней части файла XML.

Это действительное диагностическое сообщение; другие парсеры XML должны выдавать подобное сообщение об ошибке в этой ситуации.

Чтобы исправить проблему, проверьте следующие возможности:

Некоторое пустое пространство или другое видимое содержимое существует до объявления.

Решение : удалите пустое пространство или любой другой видимый контент до объявления XML.

Некоторый невидимый контент существует до объявления. Чаще всего это знак порядка байтов (BOM) .

Решение . Удалите спецификацию, используя методы, предложенные на странице W3C в спецификации в HTML.

В содержимом XML существует блуждающая декларация. Это может произойти, когда файлы XML объединяются программно или посредством вырезания и вставки. В XML-файле может быть только одно объявление, и оно может быть только вверху.

Решение. Выполните поиск без учета регистра и удалите все, кроме верхнего XML-объявления, из файла.

Источник

Looks like I am seeing an error related to #758 … any idea what is causing this?

Failed to auto configure default logger context
Reported exception:
ch.qos.logback.core.joran.spi.JoranException: Problem parsing XML document. See previously reported errors.
at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:67)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:134)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.allanbank.mongodb.util.log.Slf4jLogFactory.doGetLog(Slf4jLogFactory.java:103)
at com.allanbank.mongodb.util.log.LogFactory.getLog(LogFactory.java:52)
at com.allanbank.mongodb.Version.(Version.java:73)
at com.allanbank.mongodb.builder.BatchedWrite.(BatchedWrite.java:94)
at com.yahoo.ycsb.db.AsyncMongoDbClient.(AsyncMongoDbClient.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at com.yahoo.ycsb.DBFactory.newDB(DBFactory.java:40)
at com.yahoo.ycsb.Client.main(Client.java:1058)
Caused by: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 6; The processing instruction target matching «[xX][mM][lL]» is not allowed.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:61)
… 28 more
09:02:08,385 |-INFO in ch.qos.logback.classic.LoggerContext[default] — Could NOT find resource [logback.groovy]
09:02:08,385 |-INFO in ch.qos.logback.classic.LoggerContext[default] — Could NOT find resource [logback-test.xml]
09:02:08,385 |-INFO in ch.qos.logback.classic.LoggerContext[default] — Found resource [logback.xml] at [jar:file:/home/tvoellm/ycsb-0.10.0/mongodb-binding/lib/mongodb-binding-0.10.0.jar!/logback.xml]
09:02:08,394 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@ 6f75e72 — URL [jar:file:/home/tvoellm/ycsb-0.10.0/mongodb-binding/lib/mongodb-binding-0.10.0.jar!/logback.xml] is not of type file
09:02:08,418 |-ERROR in ch.qos.logback.core.joran.event.SaxEventRecorder@ 69222c1 — XML_PARSING — Parsing fatal error on line 17 and column 6 org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 6; The processing instruction target matching «[xX][mM][lL]» is not allowed.
at org.xml.sax.SAXParseException: The processing instruction target matching «[xX][mM][lL]» is not allowed.
at at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
at at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
at at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
at at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPIData(XMLScanner.java:723)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanPIData(XMLDocumentFragmentScannerImpl.java:1019)
at at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPI(XMLScanner.java:691)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:912)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
at at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:61)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:134)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
at at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265)
at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at at java.lang.reflect.Method.invoke(Method.java:498)
at at com.allanbank.mongodb.util.log.Slf4jLogFactory.doGetLog(Slf4jLogFactory.java:103)
at at com.allanbank.mongodb.util.log.LogFactory.getLog(LogFactory.java:52)
at at com.allanbank.mongodb.Version.(Version.java:73)
at at com.allanbank.mongodb.builder.BatchedWrite.(BatchedWrite.java:94)
at at com.yahoo.ycsb.db.AsyncMongoDbClient.(AsyncMongoDbClient.java:105)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at at java.lang.Class.newInstance(Class.java:442)
at at com.yahoo.ycsb.DBFactory.newDB(DBFactory.java:40)
at at com.yahoo.ycsb.Client.main(Client.java:1058)

2016-07-08 09:02:08:468 0 sec: 0 operations; est completion in 0 seconds

Получается возможно у меня проблема в index.php ? может я добавлял что-то в ней и не закрыл где-то скобку(и)? вот код на данный момент:

<?php
/**
 * @package     Joomla.Site
 * @subpackage  Templates.beez3
 *
 * @copyright   Copyright (C) 2005 — 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined(‘_JEXEC’) or die;

JLoader::import(‘joomla.filesystem.file’);

// Check modules
$showRightColumn = ($this->countModules(‘position-3’) or $this->countModules(‘position-6’) or $this->countModules(‘position-8’));
$showbottom      = ($this->countModules(‘position-9’) or $this->countModules(‘position-10’) or $this->countModules(‘position-11’));
$showleft        = ($this->countModules(‘position-4’) or $this->countModules(‘position-7’) or $this->countModules(‘position-5’));

if ($showRightColumn == 0 and $showleft == 0)
{
   $showno = 0;
}

JHtml::_(‘behavior.framework’, true);

// Get params
$color          = $this->params->get(‘templatecolor’);
$logo           = $this->params->get(‘logo’);
$navposition    = $this->params->get(‘navposition’);
$headerImage    = $this->params->get(‘headerImage’);
$doc            = JFactory::getDocument();
$app            = JFactory::getApplication();
$templateparams   = $app->getTemplate(true)->params;
$config         = JFactory::getConfig();
$bootstrap      = explode(‘,’, $templateparams->get(‘bootstrap’));
$jinput         = JFactory::getApplication()->input;
$option         = $jinput->get(‘option’, », ‘cmd’);

if (in_array($option, $bootstrap))
{
   // Load optional rtl Bootstrap CSS and Bootstrap bugfixes
   JHtml::_(‘bootstrap.loadCss’, true, $this->direction);
}

$doc->addStyleSheet($this->baseurl . ‘/templates/system/css/system.css’);
$doc->addStyleSheet($this->baseurl . ‘/templates/’ . $this->template . ‘/css/position.css’, $type = ‘text/css’, $media = ‘screen,projection’);
$doc->addStyleSheet($this->baseurl . ‘/templates/’ . $this->template . ‘/css/layout.css’, $type = ‘text/css’, $media = ‘screen,projection’);
$doc->addStyleSheet($this->baseurl . ‘/templates/’ . $this->template . ‘/css/print.css’, $type = ‘text/css’, $media = ‘print’);
$doc->addStyleSheet($this->baseurl . ‘/templates/’ . $this->template . ‘/css/general.css’, $type = ‘text/css’, $media = ‘screen,projection’);
$doc->addStyleSheet($this->baseurl . ‘/templates/’ . $this->template . ‘/css/’ . htmlspecialchars($color). ‘.css’, $type = ‘text/css’, $media = ‘screen,projection’);

if ($this->direction == ‘rtl’)
{
   $doc->addStyleSheet($this->baseurl . ‘/templates/’ . $this->template . ‘/css/template_rtl.css’);
   if (file_exists(JPATH_SITE . ‘/templates/’ . $this->template . ‘/css/’ . $color . ‘_rtl.css’))
   {
      $doc->addStyleSheet($this->baseurl . ‘/templates/’ . $this->template . ‘/css/’ . htmlspecialchars($color). ‘_rtl.css’);
   }
}

JHtml::_(‘bootstrap.framework’);
$doc->addScript($this->baseurl . ‘/templates/’ . $this->template . ‘/javascript/md_stylechanger.js’, ‘text/javascript’);
$doc->addScript($this->baseurl . ‘/templates/’ . $this->template . ‘/javascript/hide.js’, ‘text/javascript’);
$doc->addScript($this->baseurl . ‘/templates/’ . $this->template . ‘/javascript/respond.src.js’, ‘text/javascript’);
$doc->addScript($this->baseurl . ‘/templates/’ . $this->template . ‘/javascript/template.js’, ‘text/javascript’);
?>
<!DOCTYPE html>
<html xmlns=»http://www.w3.org/1999/xhtml» xml:lang=»<?php echo $this->language; ?>» lang=»<?php echo $this->language; ?>» dir=»<?php echo $this->direction; ?>» >
   <head>
      <?php require __DIR__ . ‘/jsstrings.php’;?>

      <meta name=»viewport» content=»width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes»/>
      <meta name=»HandheldFriendly» content=»true» />
      <meta name=»apple-mobile-web-app-capable» content=»YES» />

      <jdoc:include type=»head» />
         <script type=»text/javascript» src=»//vk.com/js/api/openapi.js?117″></script>
         <script type=»text/javascript»>  VK.init({apiId: 5057862, onlyWidgets: true});  </script>
      <!—[if IE 7]>
      <link href=»<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/ie7only.css» rel=»stylesheet» type=»text/css» />
      <![endif]—>
   </head>
   <body id=»shadow»>
      <?php if ($color == ‘image’):?>
         <style type=»text/css»>
            .logoheader {
               background:url(‘<?php echo $this->baseurl . ‘/’ . htmlspecialchars($headerImage); ?>’) no-repeat right;
            }
            body {
               background: <?php echo $templateparams->get(‘backgroundcolor’); ?>;
            }
         </style>
      <?php endif; ?>
      <!— Yandex.Metrika counter —><script type=»text/javascript»>(function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter32561760 = new Ya.Metrika({id:32561760, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce:true}); } catch(e) { } }); var n = d.getElementsByTagName(«script»)[0], s = d.createElement(«script»), f = function () { n.parentNode.insertBefore(s, n); }; s.type = «text/javascript»; s.async = true; s.src = (d.location.protocol == «https:» ? «https:» : «http:») + «//mc.yandex.ru/metrika/watch.js»; if (w.opera == «[object Opera]») { d.addEventListener(«DOMContentLoaded», f, false); } else { f(); } })(document, window, «yandex_metrika_callbacks»);</script><noscript><div><img src=»//mc.yandex.ru/watch/32561760″ style=»position:absolute; left:-9999px;» alt=»» /></div></noscript><!— /Yandex.Metrika counter —>
      <script>
  (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

  ga(‘create’, ‘UA-67775937-1’, ‘auto’);
  ga(‘send’, ‘pageview’);

      </script>

      <div id=»all»>
         <div id=»back»>
            <header id=»header»>
               <div class=»logoheader»>
                  <h1 id=»logo»>
                  <?php if ($logo) : ?>
                     <a href=» <?php echo $this->baseurl ?> «>
                     <img src=»<?php echo $this->baseurl; ?>/<?php echo htmlspecialchars($logo); ?>»  alt=»<?php echo htmlspecialchars($templateparams->get(‘sitetitle’)); ?>» />
                     </a>
                  <?php endif;?>
                  <?php if (!$logo AND $templateparams->get(‘sitetitle’)) : ?>
                     <?php echo htmlspecialchars($templateparams->get(‘sitetitle’)); ?>
                  <?php elseif (!$logo AND $config->get(‘sitename’)) : ?>
                     <?php echo htmlspecialchars($config->get(‘sitename’)); ?>
                  <?php endif; ?>
                  <span class=»header1″>
                  <?php echo htmlspecialchars($templateparams->get(‘sitedescription’)); ?>
                  </span></h1>
               </div><!— end logoheader —>
               <h2 class=»unseen»>Декоративные штукатурки San Marco</h2>
               <h3 class=»unseen»>Декоративные покрытия и краски</h3>
               <jdoc:include type=»modules» name=»position-1″ />
               <div id=»line»>
                  <jdoc:include type=»modules» name=»position-0″ />
               </div> <!— end line —>
            </header><!— end header —>
            <div id=»<?php echo $showRightColumn ? ‘contentarea2’ : ‘contentarea’; ?>»>
               <div id=»breadcrumbs»>
                  <jdoc:include type=»modules» name=»position-2″ />
               </div>

               <?php if ($navposition == ‘left’ and $showleft) : ?>
                  <nav class=»left1 <?php if ($showRightColumn == null) { echo ‘leftbigger’;} ?>» id=»nav»>
                     <jdoc:include type=»modules» name=»position-7″ style=»beezDivision» headerLevel=»3″ />
                     <jdoc:include type=»modules» name=»position-4″ style=»beezHide» headerLevel=»3″ state=»0 » />
                     <jdoc:include type=»modules» name=»position-5″ style=»beezTabs» headerLevel=»2″  id=»3″ />
                  </nav><!— end navi —>
               <?php endif; ?>

               <div id=»<?php echo $showRightColumn ? ‘wrapper’ : ‘wrapper2’; ?>» <?php if (isset($showno)){echo ‘class=»shownocolumns»‘;}?>>
                  <div id=»main»>

                     <?php if ($this->countModules(‘position-12’)) : ?>
                        <div id=»top»>
                           <jdoc:include type=»modules» name=»position-12″ />
                        </div>
                     <?php endif; ?>

                     <jdoc:include type=»message» />
                     <jdoc:include type=»component» />

                  </div><!— end main —>
               </div><!— end wrapper —>

               <?php if ($showRightColumn) : ?>
                  <div id=»close»>
                     <a href=»#» onclick=»auf(‘right’)»>
                     <span id=»bild»>
                        <?php echo JText::_(‘TPL_BEEZ3_TEXTRIGHTCLOSE’); ?>
                     </span>
                     </a>
                  </div>

                  <aside id=»right»>
                     <h2 class=»unseen»><?php echo JText::_(‘TPL_BEEZ3_ADDITIONAL_INFORMATION’); ?></h2>
                     <jdoc:include type=»modules» name=»position-6″ style=»beezDivision» headerLevel=»3″ />
                     <jdoc:include type=»modules» name=»position-8″ style=»beezDivision» headerLevel=»3″ />
                     <jdoc:include type=»modules» name=»position-3″ style=»beezDivision» headerLevel=»3″ />
                  </aside><!— end right —>
               <?php endif; ?>

               <?php if ($navposition == ‘center’ and $showleft) : ?>
                  <nav class=»left <?php if ($showRightColumn == null) { echo ‘leftbigger’; } ?>» id=»nav» >

                     <jdoc:include type=»modules» name=»position-7″  style=»beezDivision» headerLevel=»3″ />
                     <jdoc:include type=»modules» name=»position-4″ style=»beezHide» headerLevel=»3″ state=»0 » />
                     <jdoc:include type=»modules» name=»position-5″ style=»beezTabs» headerLevel=»2″  id=»3″ />

                  </nav><!— end navi —>
               <?php endif; ?>

               <div class=»wrap»></div>
            </div> <!— end contentarea —>
         </div><!— back —>
      </div><!— all —>

      <div id=»footer-outer»>
         <?php if ($showbottom) : ?>
            <div id=»footer-inner» >

               <div id=»bottom»>
                  <div class=»box box1″> <jdoc:include type=»modules» name=»position-9″ style=»beezDivision» headerlevel=»3″ /></div>
                  <div class=»box box2″> <jdoc:include type=»modules» name=»position-10″ style=»beezDivision» headerlevel=»3″ /></div>
                  <div class=»box box3″> <jdoc:include type=»modules» name=»position-11″ style=»beezDivision» headerlevel=»3″ /></div>
               </div>

            </div>
         <?php endif; ?>

         <div id=»footer-sub»>
            <footer id=»footer»>
               <div id=»vk_like»></div><script type=»text/javascript»>VK.Widgets.Like(«vk_like», {type: «button»});
               </script>
                     <jdoc:include type=»modules» name=»position-14″ />
               <p>&copy; 2015 <a href=»<?php echo $this->baseurl; ?>»>San Marco. Все права защищены.</a><br />
               +7 (499) 703-42-83<br />
               <a href=»mailto:info@sanmarco-vernici.ru»>info@sanmarco-vernici.ru</a></p>
               Наш адрес: г. Москва, Рязанский пр-т, д.2, к.3,<br />
                    ТК «Город», этаж 1 (2 км от ТТК), ежедневно, 10:00-22:00
            </footer><!— end footer —>
         </div>
      </div>
      <jdoc:include type=»modules» name=»debug» />
   </body>
</html>

можно как-то проверить на его правильность ?

Понравилась статья? Поделить с друзьями:
  • Error the password has appeared in recent 5 times
  • Error the opengl functionality tests failed
  • Error the normal service type cannot be configured
  • Error the multi part identifier could not be bound
  • Error the meeting id that you supplied did not match any existing meetings