Re: [xsl] XSL & Entities

Subject: Re: [xsl] XSL & Entities
From: c p <bugs75il@xxxxxxxxx>
Date: Wed, 2 Mar 2005 08:24:17 -0800 (PST)
Also I just tested putting some random invalid
character in the .ent file and it did error out on me
so it is getting pulled for sure.  How do I
set/configure my parser?

I have two different options to parse/transform the
XML - either use XML SPY's built in XSL transformer or
use Xalan/Xerces.

Thanks,
--- c p <bugs75il@xxxxxxxxx> wrote:

> Can you explain more about putting it into the
> internal declaration subset?
> 
> Thanks,
> C
> --- David Carlisle <davidc@xxxxxxxxx> wrote:
> 
> > 
> > 
> > > My bad the entity is described with NDATA. 
> > 
> > hmph that wasn't what you said originally:-)
> > 
> > In that case it's supposed to work _except_ that a
> > non validating parser
> > is allowed to not read the external files in a DTD
> > in which case your
> > system may not have seen the entity definition at
> > all. (What happens if
> > you put a syntax error in that file such as a fre
> > random < not in an
> > entity declaration, does it notice?
> > 
> > If thta's the problem you may be able to configure
> > your parser to read
> > the dtd (irt depends on the parser) or you can put
> > the declaration in an
> > internal subset
> > 
> > <!DOCTYPE foo [
> > <!ENTITY CorporateLogo SYSTEM
> > "images/corporateLogo.gif" NDATA saetiff>
> > ]>
> > <foo>
> > ...
> > <bar imagename="CorporateLogo" ...
> > 
> > 
> > David
> > 
> >
>
________________________________________________________________________
> > This e-mail has been scanned for all viruses by
> > Star. The
> > service is powered by MessageLabs. For more
> > information on a proactive
> > anti-virus service working around the clock,
> around
> > the globe, visit:
> > http://www.star.net.uk
> >
>
________________________________________________________________________
> > 
> > 
> 
> 
> 
> 	
> 		
> __________________________________ 
> Celebrate Yahoo!'s 10th Birthday! 
> Yahoo! Netrospective: 100 Moments of the Web 
> http://birthday.yahoo.com/netrospective/
> 
> 



	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

Current Thread
  • Re: [xsl] XSL & Entities, (continued)
      • c p - Tue, 1 Mar 2005 16:22:05 -0800 (PST)
        • David Carlisle - Wed, 2 Mar 2005 10:04:03 GMT
        • c p - Wed, 2 Mar 2005 08:19:34 -0800 (PST)
        • c p - Wed, 2 Mar 2005 08:24:07 -0800 (PST)
        • c p - Wed, 2 Mar 2005 08:24:17 -0800 (PST) <=
        • David Carlisle - Wed, 2 Mar 2005 16:44:52 GMT