Hi All,


 I am using StAX parser for XML processing.While executing the Program  am 
getting the following errors.
    
    Exception in thread "main" javax.xml.stream.XMLStreamException: ParseError 
at [r
    ow,col]:[2,6]
    Message: The processing instruction target matching "[xX][mM][lL]" is not 
allowe
    d.
            at 
com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLS
    treamReaderImpl.java:592)
            at 
com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.nextTag(X
    MLStreamReaderImpl.java:1234)
            at Demo.main(Demo.java:16)
    
    What will be the problem?
    Why this error came?
    can you please tell?
    
    
    Thanks,Sowmiya
                                          

Reply via email to