ACM Home Page
Please provide us with feedback. Feedback
Relaxed: on the way towards true validation of compound documents
Full text PdfPdf (373 KB)
Source International World Wide Web Conference archive
Proceedings of the 15th international conference on World Wide Web table of contents
Edinburgh, Scotland
SESSION: Web engineering: validation table of contents
Pages: 427 - 436  
Year of Publication: 2006
ISBN:1-59593-323-9
Authors
Jirka Kosek  University of Economics, Prague, Czech Republic
Petr Nálevka  University of Economics, Prague, Czech Republic
Sponsors
SIGWEB: ACM Special Interest Group on Hypertext, Hypermedia, and Web
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 43,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1135777.1135841
What is a DOI?

ABSTRACT

To maintain interoperability in the Web environment it is necessary to comply with Web standards. Current specifications of HTML and XHTML languages define conformance conditions both in specification prose and in a formalized way utilizing DTD. Unfortunately DTD is a very limited schema language and can not express many constraints that are specified in the free text parts of the specification. This means that a page which validates against DTD is not necessarily conforming to the specification. In this article we analyze features of modern schema languages that can improve validation of Web pages by covering more (X)HTML language constraints then DTD. Our schemas use combination of RELAX NG and Schematron to check not only the structure of the Web pages, but also datatypes of attributes and elements, more complex relations between elements and some WCAG checkpoints. A modular approach for schema composition is presented together with usage examples, including sample schemas for various compound documents (e.g. XHTML combined with MathML and SVG).The second part of this article contains description of Relaxed validator application we have developed. Relaxed is an extensible and powerful validation engine offering a convenient Web interface, a Web-service API, Java API and command-line interface. Combined with our RELAX NG + Schematron schemas, Relaxed offers very valuable validation results that surpass W3C validator in many aspects.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Document Schema Definition Languages (DSDL) --- Part 4: Namespace-based Validation Dispatching Language --- NVDL. ISO/IEC FCD 19757-4. 2005.
 
2
XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition). W3C, 2002. WWW: http://www.w3.org/TR/2002/REC-xhtml1-20020801
 
3
Altheim, M., McCarron, S., Boumphrey, F., Dooley, S., Schnitzenbaumer, S., Wugofski, T.: Modularization of XHTML™. W3C, 2001. WWW: http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/
 
4
Biron, P., Malhotra, A.: XML Schema Part 2: Datatypes Second Edition. W3C, 2004. WWW: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/
 
5
Chisholm, W., Vanderheiden, G., Jacobs, I.: Web Content Accessibility Guidelines 1.0 . W3C WAI, 1999. WWW: http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505
 
6
Clark, J., Murata, M.: RELAX NG Specification. OASIS Committee Specification, 2001. WWW: http://www.relaxng.org/spec-20011203.html
 
7
Clark, J.: Modularization of XHTML in RELAX NG. Thai Open Source Software Center Ltd, 2003. WWW: http://www.thaiopensource.com/relaxng/xhtml/
 
8
Jelliffe, R.: The Schematron Assertion Language 1.5. Academia Sinica Computing Centre, 2002. WWW: http://xml.ascc.net/resource/schematron/Schematron2000.html
 
9
Murata, M., Dongwon, L., Murali, M., Kawaguchi, K.: Taxonomy of XML Schema Languages using Formal Language Theory. 2004. WWW: http://web.cs.wpi.edu/~mmani/toit/taxonomy/new/taxonomy.pdf
 
10
Ragget, D., Le Hors, A., Jacobs, I.: HTML 4.01 Specification. W3C, 1999. WWW: http://www.w3.org/TR/1999/REC-html401-19991224/
 
11
Thompson, H.S., Beech, D., Maloney, M., Mendelsohn, N.: XML Schema Part 1: Structures Second Edition. W3C, 2004. WWW: http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/

Collaborative Colleagues:
Jirka Kosek: colleagues
Petr Nálevka: colleagues