You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/12 23:15:55 UTC

[jira] Updated: (XERCERJ-97) SAX2COUNT as verifier in emacs

The following issue has been updated:

    Updater: Serge Knystautas (mailto:sergek@lokitech.com)
       Date: Mon, 12 Apr 2004 2:14 PM
    Changes:
             Attachment changed from SAX2Count.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCERJ-97?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCERJ-97

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCERJ-97
    Summary: SAX2COUNT as verifier in emacs
       Type: Bug

     Status: Open

    Project: Xerces2-J

   Assignee: Xerces-J Developers Mailing List
   Reporter: E. Ulrich Kriegel

    Created: Wed, 19 Dec 2001 1:27 AM
    Updated: Mon, 12 Apr 2004 2:14 PM
Environment: Operating System: Other
Platform: Other

Description:
Using sgml-mode  emacs can verify xml-docs against dtd's or xml-schemas. The result of the 
validation process is displayed in the *compilation* buffer. If the validator writes error 
messages or warning in the order:
   file:line:char other infos
one can jump from the error 
message to the location in file directly.
So I suggest to change the order of printing in 
SAC2Count as in the following example
    System.err.println(getLocationString(ex)+" 
[Warning]: "+
                           ex.getMessage());
to allow SAX2Count to be used as validator in emacs.
I 
changed the source code in that way and use SAX2COUNT as a fast verifier for my xml-
docs.

Yours
--ulrich


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org