Changeset 321
- Timestamp:
- 02/26/08 22:55:43 (6 months ago)
- Files:
-
- cleversvg/trunk/document/csDocument.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cleversvg/trunk/document/csDocument.class.php
r320 r321 662 662 public function validate(DOMDocument $dom) 663 663 { 664 if ($this->strict_mode === true) 665 { 666 if (!$dom->validate()) 667 { 668 throw new csException('This SVG Document does not validate'); 669 } 664 if (true == $this->strict_mode && !$dom->validate()) 665 { 666 throw new csException('This SVG Document does not validate'); 670 667 } 671 668 }
