Title: Message Title
|
|
If someone wants to validate the XHTML of Dspace, this could be useful. One of the worst mistakes we had to correct in DSpace for validate by W3C is to modify the following class of XMLUI Wing package. public abstract class AbstractWingTransformer extends AbstractTransformer implements WingTransformer ..... public void startPrefixMapping(String prefix, String uri) throws SAXException { if (needNewNamespaceContext) { namespaces.pushContext(); needNewNamespaceContext = false; } //DSPACE FIX OPTION 1 + if(uri.equals("http://di.tamu.edu/DRI/1.0/")) + prefix="dri"; namespaces.declarePrefix(prefix, uri); //DSPACE FIX OPTION 2 + if(!uri.equals("http://di.tamu.edu/DRI/1.0/")) namespaces.declarePrefix(prefix, uri); super.startPrefixMapping(prefix, uri); } ...
|
|
|
|
|
|
|
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel