[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Polyglot XHTML5 Validator?

  • From: Jesper Tverskov <jesper.tverskov@gmail.com>
  • To: xml-dev@lists.xml.org
  • Date: Sun, 22 May 2011 15:16:19 +0200

Re:  Polyglot XHTML5 Validator?
Hi David

You forgot to comment on this one:
*** Also I think we need an assertion testing that document.write()
and document.writeln() are not used.

You say that you don't want to make an assertion disallowing:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
because: "I only want to test clauses in the polyglot spec, so perhaps
you should raise a bug against that?

I will do that. So please make the assertion, we need it. It will be a
very common error. It is too stupid that I and others will have do
make an improved version of your schema.

*** I think it is damaging that we cannot test for not allowed named
entity references, since it is bound to be a very common error.

Why not make an assertion using unparsed-text(), it is not in XPath
but will make it to the XSLT stylesheet and should work, I guess. You
could write the necessary regex faster than the rest of us can check
our mail on our iPhone.

*** I also feel it is sad that we can't validate the attribute
whitespace restrictions except that it will hardly ever cause a
problem, I guess. But it makes things much easier when we can say "all
restrictions are validated". So maybe unparsed-text() could rescue us
here also?

Cheers,
Jesper Tverskov
http://www.xmlplease.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.