It appears that the parser is namespace aware by default.  We use the
following:

  TransformerFactory factory = TransformerFactory.newInstance();
  Transformer transformer = factory.newTransformer();
  .....
  transformer.transform(...)

There is not an option to set a property/attribute related to being
namespace aware.


J.Pietschmann wrote:
> 
> tahjmh wrote:
>> We have recently unpdated to the .93 version.  I am able to generate PDFs
>> from a command line program with no warning messages.  However, when the
>> application is deployed, every fo statement receives the following
>> warning
>> messge (root is just an example):
>> 
>> org.apache.fop.fo.FOTreeBuilder - Mismatch: root
>> (http://www.w3.org/1999/XSL/Format) vs . root ()
>> 
>> I cannot determine why the embedded version is receiving the warnings.
>> 
>> The fo document begins with the following:
>> 
>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; ....
> 
> Check whether the XML parser in the application is configured
> to ignore namespaces (yes this is possible).
> 
> J.Pietschmann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/FOTreeBuilder---Mismatch-tf3215578.html#a9005833
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to