Subject: Re: [xsl] XSL & Entities From: c p <bugs75il@xxxxxxxxx> Date: Wed, 2 Mar 2005 08:24:07 -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, Viral. --- 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL & Entities, c p | Thread | Re: [xsl] XSL & Entities, c p |
Re: [xsl] XSL & Entities, c p | Date | Re: [xsl] XSL & Entities, c p |
Month |