OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Another published schema broken by XML Schema erratachange

[ Lists Home | Date Index | Thread Index ]

Robert Koberg wrote:

> How do you create a valid JSP that renders HTML?
> 
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page";>
>   <html/>
> </jsp:root>
> 
> since it is not in 'xsd:any namespace' -- how?
> 
> I usually just create/render well-formed HTML and then use a servlet 
> filter to XSL identity transform to HTML or XHTML(xml).

You could put the HTML in CDATA sections. Or use XHTML.

This is one reason the XML format for JSP is not widely used. AFAIK, it 
is still recommended for internal (program-to-program) use only. The 
very fact that it's XML makes it harder to use.

Bob Foster





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS