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] Reporting XML validation results in XML: is this approach

[ Lists Home | Date Index | Thread Index ]

XSV [1] produces XML output, including error reports, which contain
line and character numbers as attributes, e.g.

  <invalid char="5" code="cvc-elt.4.1.1" line="6"
    resource="file:///. . ./triv.xml">element {None}e2 with simple
                                      type not allowed attributes</invalid>

A stylesheet is provided which displays this in the traditional
lineno:charno format.


[1] http://www.ltg.ed.ac.uk/~ht/xsv-status.html
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]


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

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