matts 2003/01/26 09:22:50
Modified: lib/Apache/AxKit/Language XSP.pm
Log:
Differentiate between two errors with the same text
Revision Changes Path
1.28 +3 -3 xml-axkit/lib/Apache/AxKit/Language/XSP.pm
Index: XSP.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Language/XSP.pm,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- XSP.pm 25 Jan 2003 18:10:05 -0000 1.27
+++ XSP.pm 26 Jan 2003 17:22:50 -0000 1.28
@@ -686,7 +686,7 @@
Apache::AxKit::Language::XSP::is_xsp_namespace($node->{Parent}->{NamespaceURI}))
{
throw Apache::AxKit::Exception(
- -text => "Can't have element as child of attributes!"
+ -text => "[Core] Can't have element as child of
attributes!"
);
}
if (my $name = $attribs{name}) {
@@ -850,7 +850,7 @@
Apache::AxKit::Language::XSP::is_xsp_namespace($node->{Parent}->{NamespaceURI}))
{
throw Apache::AxKit::Exception(
- -text => "Can't have element as child of attributes!"
+ -text => "[Default] Can't have element as child of
attributes!"
);
}
if ($node->{NamespaceURI}) {