Hi Richard

What you've described, <? ... ?>, is not a comment - comments have the
form 

<!-- your comment here -->

Instead it's what's called a processing instruction (or procinst for
short).

Having said that I'm not sure why XmlBeans would be objecting to a
procinst either. Can you attach the stack trace you see and the XML
document that's causing it please?

Thanks,

Lawrence

> -----Original Message-----
> From: Butterwood, Richard [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 20, 2006 7:12 AM
> To: user@xmlbeans.apache.org
> Subject: Ignoring a comment
> 
> As part of debugging we receive a comment at the bottom of the XML
file
> if it fails.  At the bottom of the file we receive the following:
> 
> <?fail message=API1?>
> 
> I want XML Beans to ignore this comment.  Right now if the comment is
> in, it blows up.
> 
> Is this possible?
> 
> Richard Butterwood | Senior Analyst/Programmer | Infor | office:
> 770-418-2000 X 1167 | cell: 678-492-3080 | fax: 770-418-2022 |
> [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