xsl-list
[Top] [All Lists]

[xsl] A colon is not allowed in the name

2009-03-25 00:25:18
Hi,

I am transforming xml to PDF using FOP with
"javax.xml.transform.Transformer". Transformer results into an error
when it tries to transform following element.

<header type="new">
       <?QM: GENERATOR [Ref] 10055: ParaHeading: NEW?>Generate New Data 
</header>

Here is the error:

ERROR:  'A colon is not allowed in the name 'QM:' when namespaces are
enabled.'

I cannot delete the <?QM: GENERATOR [Ref] 10055: ParaHeading: NEW?> part
of xml. So how can I overcome this parsing problem. 

Thanks,
Navpreet.

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are not,
or believe you may not be, the intended recipient, please advise the sender
immediately by return e-mail, delete this e-mail and destroy any copies.
The Company does not warrant nor guarantee that this email communication is free
from errors, virus, interception or interference.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--