[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: A colon is not allowed in the name

Subject: RE: A colon is not allowed in the name
From: "SINGH Navpreet" <navpreet.singh@xxxxxxxxxxxxxx>
Date: Thu, 26 Mar 2009 12:01:47 +1100
RE:  A colon is not allowed in the name
Hi Michael,
This thread's discussion heads in another direction. Just want to
clarify it finally.

My xml does not have any namespace declaration, only the xsl file has

So when I try to generate PDF out of it with
"javax.xml.transform.Transformer", Transformer parses the xsl file and
not the xml file. But error causing line is in xml (<?QM: GENERATOR
[Ref] 10055: ParaHeading: NEW?> ) not in xsl. So why am I getting the


-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Thursday, 26 March 2009 8:29 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  A colon is not allowed in the name

> Just wondering, if there is a way to disable the namespace
> awareness while parsing the xml document, using
> "javax.xml.transform.Transformer".

I think some XML parsers probably still allow you to parse
non-namespace-aware XML, if you set the right switches. But
javax.xml.transform.Transformer is not an interface to XML parsers, it
is an
interface to XSLT processors, and XSLT requires namespace-well-formed

Michael Kay

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
from errors, virus, interception or interference.

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.