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 2010/11/24 19:52:00 UTC
svn commit: r1038761 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/models/XS11CMRestriction.java
Author: mrglavas
Date: Wed Nov 24 18:52:00 2010
New Revision: 1038761
URL: http://svn.apache.org/viewvc?rev=1038761&view=rev
Log:
Adding a @xerces.internal that was missing.
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/models/XS11CMRestriction.java
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/models/XS11CMRestriction.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/models/XS11CMRestriction.java?rev=1038761&r1=1038760&r2=1038761&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/models/XS11CMRestriction.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/models/XS11CMRestriction.java Wed Nov 24 18:52:00 2010
@@ -38,19 +38,21 @@ import org.apache.xerces.xs.XSNamedMap;
import org.apache.xerces.xs.XSSimpleTypeDefinition;
import org.apache.xerces.xs.XSTypeDefinition;
+
+// TODO: tests:
+// * base all: (e, w?)?; derived all: (e)? w. Should be invalid <e1/>
+// * base all: (e/f, w); derived all: (e, w)
+// * base: e|w(lax) + w(skip), derived: w(lax) + w(skip)
+// Example test:
+// Bad: base: ((a|b)&) derived: (a & b).
+// derive allow a,b, base doesn't.
+// Bad: base: ((ns1:a|ns2:b) & ns1:*) derived: (ns1:a & ns2:b).
+// derive allow a,b, base doesn't.
+// Good: base: ((ns1:a|ns2:b) & ns1:*? & ns2:*?) derived: (ns1:a & ns2:b).
+// base: (a{2} & *), derived: (a & *)
/**
- // TODO: tests:
- // * base all: (e, w?)?; derived all: (e)? w. Should be invalid <e1/>
- // * base all: (e/f, w); derived all: (e, w)
- // * base: e|w(lax) + w(skip), derived: w(lax) + w(skip)
- // Example test:
- // Bad: base: ((a|b)&) derived: (a & b).
- // derive allow a,b, base doesn't.
- // Bad: base: ((ns1:a|ns2:b) & ns1:*) derived: (ns1:a & ns2:b).
- // derive allow a,b, base doesn't.
- // Good: base: ((ns1:a|ns2:b) & ns1:*? & ns2:*?) derived: (ns1:a & ns2:b).
- // base: (a{2} & *), derived: (a & *)
-
+ * @xerces.internal
+ *
* @version $Id$
*/
public final class XS11CMRestriction implements XSElementDeclHelper {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org