Changeset 1491
- Timestamp:
- 11/27/08 04:21:36 (6 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/javarosa/org.javarosa.xform/src/org/javarosa/xform/parse/XFormParser.java
r1482 r1491 309 309 binding = (DataBinding)bindingsByID.get(bind); 310 310 if (binding == null) { 311 throw new XFormParseException("XForm Parse: invalid binding ID ");311 throw new XFormParseException("XForm Parse: invalid binding ID '" + bind + "'"); 312 312 } 313 313 } else if (ref != null) { … … 361 361 if (!(hasITextMapping(f, textRef) || 362 362 (hasITextMapping(f, textRef + ";long") && hasITextMapping(f, textRef + ";short")))) 363 throw new XFormParseException("<label> text is not localizable for all locales");363 throw new XFormParseException("<label> '" + textRef + "': text is not localizable for all locales"); 364 364 q.setLongTextID(textRef + ";long", null); 365 365 q.setShortTextID(textRef + ";short", null); … … 383 383 if (!(hasITextMapping(f, textRef) || 384 384 (hasITextMapping(f, textRef + ";long") && hasITextMapping(f, textRef + ";short")))) 385 throw new XFormParseException("<label> text is not localizable for all locales");385 throw new XFormParseException("<label> '" + textRef + "': text is not localizable for all locales"); 386 386 g.setLongTextID(textRef + ";long", null); 387 387 g.setShortTextID(textRef + ";short", null); … … 433 433 434 434 if (!hasITextMapping(f, textRef)) 435 throw new XFormParseException("<label> text is not localizable for all locales");435 throw new XFormParseException("<label> '" + textRef + "': text is not localizable for all locales"); 436 436 } else { 437 437 throw new XFormParseException("malformed ref for <item>");
