by Peter Doering <nospam@[EMAIL PROTECTED]
>
Aug 1, 2008 at 01:26 AM
Melissa M wrote:
> I've had a procedure in a db which has worked just fine for the last
several
> months, up until today. The procedure executes this line:
> Application.Im****tXML DataSource:="http://"
& P2L_URL &
> "/P2L_PICK_TO_LABEL.aspx?ORDER_I=" & _
> Left(Forms!frm_MainMenu.txtSalesOrder.Value, 8) & "&PRINT_I=" &
> strP, Im****tOptions:=acAppendData
>
> and I get: Run-time error '31592' [Database Name] has encountered an
error
> processing the XML schema in file
> 'P2L_PICK_TO_LABEL.aspx?ORDER_I=29204982&PRINT_I=001'. Illegal xml
character.
>
> Anybody have any ideas?
The messages of these methods are fairly reliable. Have you checked the
file content on illegal characters? There could be a control characters
outside the sup****ted range:
http://www.w3.org/TR/2006/REC-xml11-20060816/#charsets
Can you open the file with another XML reader like IE or XML notepad? See
http://www.microsoft.com/downloads/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628&displaylang=en
--
Peter Doering [MVP Access]