You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2007/06/11 04:00:31 UTC
svn commit: r545988 -
/xerces/java/trunk/src/org/apache/xerces/impl/xs/XSAttributeUseImpl.java
Author: mrglavas
Date: Sun Jun 10 19:00:30 2007
New Revision: 545988
URL: http://svn.apache.org/viewvc?view=rev&rev=545988
Log:
Fixing JIRA Issue #1080:
http://issues.apache.org/jira/browse/XERCESJ-1080
I fixed this once before but it got trampled by another commit. Instead of
making the null checks (the old fix) call stringValue(). This is consistent
with the change that Sandy made long ago to XSAttributeDecl (Revision 319100).
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/xs/XSAttributeUseImpl.java
Modified: xerces/java/trunk/src/org/apache/xerces/impl/xs/XSAttributeUseImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/XSAttributeUseImpl.java?view=diff&rev=545988&r1=545987&r2=545988
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/XSAttributeUseImpl.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/XSAttributeUseImpl.java Sun Jun 10 19:00:30 2007
@@ -112,7 +112,7 @@
// REVISIT: SCAPI: what's the proper representation
return getConstraintType() == XSConstants.VC_NONE ?
null :
- fDefault.actualValue.toString();
+ fDefault.stringValue();
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org