google / cap-library

Common Alerting Protocol Library
Apache License 2.0
80 stars 30 forks source link

Patch for /java/src/com/google/publicalerts/cap/profile/ca/CanadianProfile.java #27

Closed sschiavoni closed 9 years ago

sschiavoni commented 9 years ago

Original issue 28 created by josiahpeters on 2012-05-02T16:56:56.000Z:

I noticed that the validator wasn't validating a message that I considered to be valid.

My message had a geocode value of: <geocode> <valueName>profile:CAP-CP:Location:0.4</valueName> <value>2435027</value> </geocode>

Which according to the spec should be valid? Looking at the validator code I'm suspecting that my change might solve that, however I did not check out the entire repo to build and run the test cases. Hopefully this helps.

Joey Peters joey@mystateusa.com

sschiavoni commented 9 years ago

Comment #1 originally posted by shakusa@google.com on 2012-05-03T04:58:22.000Z:

Thanks, Josiah! The Canadian validation code hadn't been updated in a while. I've pushed a new validator with your fix and will be submitting the patch to the repo.

sschiavoni commented 9 years ago

Comment #2 originally posted by shakusa@google.com on 2012-05-08T00:41:50.000Z:

<empty>