Skip to content

Commit

Permalink
Removed weird pattern in relaxNG
Browse files Browse the repository at this point in the history
It caused many stackoverflows on appspot...
  • Loading branch information
zetaben committed Nov 9, 2011
1 parent 833de59 commit bb0a42f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions war/res/opds_v1.0.rnc
Expand Up @@ -61,11 +61,7 @@ include "atom.rnc" {
text text
} }


# Here is where OPDS Catalogs use John Cowan's pragmatic evaluation of an atomUri = xsd:anyURI
# IRI. This modifies xsd:anyURI in XSD 1.0 to exclude ASCII characters not
# valid in 1.1 or IRI's without being escaped. This matches the OPDS and Atom
# specs, but not the non-normative atom.rnc.
atomUri = xsd:anyURI - xsd:string {pattern = '.*[ <>{}|^`"\\\n\r\t].*'}


# Here we override Atom to account for HTML abuse in the summary element, # Here we override Atom to account for HTML abuse in the summary element,
# restricting it in OPDS Catalog to text: # restricting it in OPDS Catalog to text:
Expand Down
6 changes: 1 addition & 5 deletions war/res/opds_v1.1.rnc
Expand Up @@ -68,11 +68,7 @@ undefinedAttribute =
text)* text)*
} }


# Here is where OPDS Catalogs use John Cowan's pragmatic evaluation of an atomUri = xsd:anyURI
# IRI. This modifies xsd:anyURI in XSD 1.0 to exclude ASCII characters not
# valid in 1.1 or IRI's without being escaped. This matches the OPDS and Atom
# specs, but not the non-normative atom.rnc.
atomUri = xsd:anyURI - xsd:string {pattern = '.*[ <>{}|^`"\\\n\r\t].*'}


# Here we override Atom to account for HTML abuse in the summary element, # Here we override Atom to account for HTML abuse in the summary element,
# restricting it in OPDS Catalog to text: # restricting it in OPDS Catalog to text:
Expand Down

0 comments on commit bb0a42f

Please sign in to comment.