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] Namespace vs Prefix in error message: friendly versus corr

[ Lists Home | Date Index | Thread Index ]

> 
> > "Element xsl:when, in namespace 
> http://www.w3.org/1999/XSL/Transform, cannot appear here"
> 
If the user has called it xsl:when, then it's reasonable to refer to it
by that name in the error message. If the problem is that the namespace
URI for prefix "xsl" is incorrect, then you can pick this up when
reading the xsl:stylesheet element; and at that point you can produce
different error messages depending whether it's the local name or the
URI that's wrong.

Michael Kay





 

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

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