Hi,

I did put <?xml version="1.0" ?> in my xml document but it still gives me error like:

[Fatal Error] soap.xml:12:3: The processing instruction must begin with the name
of the target.
java.lang.NullPointerException
at org.apache.xerces.parsers.DOMBuilderImpl.parseURI(DOMBuilderImpl.java
:586)
at dom.ASBuilder.main(ASBuilder.java:223)


C:\xerces-2_0_0>java dom.ASBuilder -f -a Envelope.xsd diva.xsd -i soap.xml
[Fatal Error] soap.xml:12:6: The processing instruction target matching "[xX][mM
][lL]" is not allowed.
java.lang.NullPointerException
at org.apache.xerces.parsers.DOMBuilderImpl.parseURI(DOMBuilderImpl.java
:586)
at dom.ASBuilder.main(ASBuilder.java:223)



Thanks, Ha



At 02:08 PM 2/7/2002 +1100, you wrote:
Make sure it is at least

    <?xml version="1.0" ?>


At 13:18 7/02/2002, Ha Nguyen wrote:
Hi All,

I have tried to use Xerces-2_0_0 samples with an xml file. It gives me an error when I include <? xml version="1.0" ?> in the xml file. Is this a bug with xerces-2_0_0 or I did something wrong?

Thanks,
Ha


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

------------------------- Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to