|
Re: [xmlc] <br clear="none"></br>: msg#00011java.enhydra.xmlc
BTW, how are you actually writing the document? Are you using XMLCContext (this is a webapp, right)? Here's the pattern.... XMLCContext context = XMLCContext.getContext(servletObj); //OR //XMLCContext context = XMLCContext.getContext(servletContextObj); ..... .... .... org.enhydra.xml.io.OutputOptions oo = context.createOutputOptions(req, resp, xmlObj); oo.setEnableXHTMLCompatibility(true); oo.setUseAposEntity(false); oo.setOmitXMLHeader(true); oo.setMIMEType("text/html"); //optionally override that defined by the DOMFactory implementation context.writeDOM(req, resp, oo, xmlObj); I want to make sure you are using XMLC's DOM formatting and not some other non-specialized formatter. I can't guarantee what other formatters will output. Jake At 12:52 AM 4/17/2007, you wrote: > >That's curious. I just tested using the HEAD (same as 2.3-beta3 plus >one or two irrelevant updates) source and I always get <br /> under >the XHTML 1.0 strict DTD and <br clear="none" /> under the XHTML >transitional DTD. I never get <br clear="none"></br>. And it's not >just setXHTMLCompatiblity(true) that goes into choosing how the tag >is ended. My memory failed me a little bit there. Everything >appears to be working from what I can see. > >Are you absolutely sure you are using 2.3-beta3? I can't seem to >reproduce <br clear="none"></br>. Can you send a source document >that contains <br />, which comes out as <br clear="none"></br>? I'm >a bit baffled by your findings. Originally I just assumed it was a >case that I must have overlooked, but based on a review of the code >and on my testing, it seems to be accounted for and behaving properly. > > >Jake > >At 03:12 PM 4/16/2007, you wrote: > >Dunno if it helps, but this BR breaking began after an upgrade from > >2.3-beta to 2.3-beta3. > > > >Erik > > > > >-- >You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx >mailing list. >To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx >For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help >ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [xmlc] <br clear="none"></br>, Jacob Kjome |
|---|---|
| Next by Date: | Re: [xmlc] <br clear="none"></br>, Erik Rasmussen |
| Previous by Thread: | Re: [xmlc] <br clear="none"></br>, Jacob Kjome |
| Next by Thread: | Re: [xmlc] <br clear="none"></br>, Erik Rasmussen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |