Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 9th, 2015, 09:40 AM
Registered User
Join Date: Sep 2015
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

I stored my document into an eXist database collection. The file extension is html. I used every different form of application that I could find. Nothing worked. The simple fact of the matter is that if I place namespaces inside my html document, it simply won't work. This is a major html oversight that needs to be corrected.
Old September 9th, 2015, 09:56 AM
Friend of Wrox
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts

It won't happen, the way the W3C has taken with HTML5 is to predefine the vocabulary of HTML, SVG and MathML and to not support any prefixed and namespaced element or attribute names with a few exceptions like xlinkorum :href for SVG. I am not familiar with exist, but I am sure they have some user forum where someone can help with serving a document as application/xhtml+xml instead of text/html.
Old September 9th, 2015, 10:09 AM
Registered User
Join Date: Sep 2015
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Then perhaps it's time someone overrides the w3c. They obviously have forgotten the simple principle of Keep It Simple Stupid. This is far from simple. Web browsers should ignore namespaces when webpages are opened. The only real use of a namespace is when documents are validated. And I don't know any web browser that validates documents. I think web browsers should include a complimentary validator, but I guess the w3c is too lazy to create web browser validators.
Old September 9th, 2015, 10:20 AM
mhkay's Avatar
Wrox Author
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

I'm afraid you're asking in the wrong place here. We're XML folks here, and we find the reluctance of the browser vendors to embrace XML as frustrating as you do. (In fact, it's the browser vendors who decided to override W3C on this.)

Rest assured, though, that it IS possible to get browsers to display SVG graphics if you get all the incantations right.
Michael Kay
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting started with Eclipse Chapter1 of programming mrguru2012 BOOK: Beginning Android Application Development 3 November 11th, 2011 10:19 AM
Just getting started with server side programming. fredzbooks BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 August 4th, 2008 09:24 PM
VB xml Programming helgaana1 Beginning VB 6 2 April 10th, 2005 11:03 AM
the source code of "Beginning C# XML" paggie All Other Wrox Books 6 March 4th, 2005 03:10 AM
About XML-DSO on IE5 programming reference qualsn Wrox Book Feedback 1 December 5th, 2003 10:13 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.